* fix bug: adjust the account is guest when open the authority of
* ajaxGetDropMenu.
This commit is contained in:
@@ -153,7 +153,7 @@ class commonModel extends model
|
||||
if(stripos($method, 'downnotify') !== false) return true;
|
||||
}
|
||||
|
||||
if(stripos($method, 'ajaxgetdropmenu') !== false) return true;
|
||||
if(stripos($method, 'ajaxgetdropmenu') !== false and $this->app->user->account == 'guest') return true;
|
||||
if($module == 'misc' and $method == 'qrcode') return true;
|
||||
if($module == 'misc' and $method == 'about') return true;
|
||||
if($module == 'misc' and $method == 'checkupdate') return true;
|
||||
|
||||
@@ -487,9 +487,9 @@ class product extends control
|
||||
* Drop menu page.
|
||||
*
|
||||
* @param int $productID
|
||||
* @param int $module
|
||||
* @param int $method
|
||||
* @param int $extra
|
||||
* @param string $module
|
||||
* @param string $method
|
||||
* @param string $extra
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
<table class='table-1 fixed'>
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
<?php
|
||||
foreach($story->tasks as $projectTasks)
|
||||
{
|
||||
foreach($projectTasks as $task)
|
||||
|
||||
Reference in New Issue
Block a user