* adjust for code format.

This commit is contained in:
wangyidong
2018-09-17 09:19:16 +08:00
parent 17d997c44e
commit ad5c25e843
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -777,7 +777,7 @@ class commonModel extends model
<h4 class="modal-title">{$lang->action->create}</h4>
</div>
<div class="modal-body">
<form class="load-indicator" action="$commentFormLink" target='hiddenwin' method='post'>
<form class="load-indicator" action="{$commentFormLink}" target='hiddenwin' method='post'>
<div class="form-group">
<textarea id='comment' name='comment' class="form-control" rows="8" autofocus="autofocus"></textarea>
</div>
@@ -1388,7 +1388,7 @@ EOD;
if($module == 'todo' and ($method == 'create' or $method == 'batchcreate')) return true;
if($module == 'effort' and ($method == 'batchcreate' or $method == 'createforobject')) return true;
// limited project
/* Limited project. */
$limitedProject = false;
if(!empty($module) && $module == 'task' && !empty($object->project) or
!empty($module) && $module == 'project' && !empty($object->id)