Skip to content

Commit

Permalink
Merge pull request #280 from Leantime/bugfixes-20104
Browse files Browse the repository at this point in the history
Bugfixes 20104
  • Loading branch information
marcelfolaron authored May 26, 2020
2 parents a0ad454 + f96f210 commit 78ccaf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class settings {
*/
private $debug = 0;

public $appVersion = "2.1.3";
public $appVersion = "2.1.4";

public $dbVersion = "2.1.4";

Expand Down
3 changes: 1 addition & 2 deletions src/domain/projects/controllers/class.showProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use leantime\core;
use leantime\domain\repositories;
use JoliCode;
use leantime\domain\services;

class showProject
Expand Down Expand Up @@ -294,7 +293,7 @@ public function run()

$comments->deleteComment($commentId);

$this->setNotification($this->language->__("notifications.comment_deleted"), "success");
$tpl->setNotification($this->language->__("notifications.comment_deleted"), "success");

}
//Timesheets
Expand Down
2 changes: 1 addition & 1 deletion src/domain/timesheets/controllers/class.showMy.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function run()
$tpl->assign('actKind', $kind);
$tpl->assign('kind', $timesheetsRepo->kind);
$tpl->assign('helper', $helper);
$tpl->assign('allProjects', $projects->getUserProjects());
$tpl->assign('allProjects', $projects->getUserProjects($_SESSION["userdata"]["id"]));
$tpl->assign('allTickets', $tickets->getUsersTickets($_SESSION["userdata"]["id"], -1));
$tpl->assign('allTimesheets', $myTimesheets);
$tpl->display('timesheets.showMy');
Expand Down

0 comments on commit 78ccaf7

Please sign in to comment.