Permalink
Browse files

tweaked the permissions check to make sure the canEdit() is checked p…

  • Loading branch information...
1 parent 56f1d3c commit 60c8c2cd9e1885088f9677baa657a091d983009a @caseysoftware caseysoftware committed Mar 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/tasks/vw_log_update.php
@@ -10,7 +10,7 @@
$task_log_id = (int) w2PgetParam($_GET, 'task_log_id', 0);
$log = new CTask_Log();
-$log->task_log_id = $task_log_id;
+$log->load($task_log_id);
$canAuthor = $log->canCreate();
if (!$canAuthor && !$task_id) {

0 comments on commit 60c8c2c

Please sign in to comment.