* fix bug: adjust the account is guest when open the authority of

* ajaxGetDropMenu.
This commit is contained in:
azhi
2013-08-12 09:08:14 +08:00
parent 44d3287bbf
commit 9d1a5f3130
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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;
+3 -3
View File
@@ -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
*/
+1 -1
View File
@@ -194,7 +194,7 @@
<table class='table-1 fixed'>
<tr>
<td>
<?php
<?php
foreach($story->tasks as $projectTasks)
{
foreach($projectTasks as $task)