Changeset 756
- Timestamp:
- 01/14/10 13:29:02 (2 years ago)
- Location:
- trunk/phpbms/modules/base
- Files:
-
- 2 modified
-
include/snapshot_include.php (modified) (1 diff)
-
javascript/adminsettings.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/include/snapshot_include.php
r602 r756 275 275 276 276 if(!$_SESSION["userinfo"]["admin"]) 277 $rolewhere = "AND `roleid` IN ('".implode($_SESSION["userinfo"]["roles"])."')";277 $rolewhere = "AND (`roleid` IN ('".implode($_SESSION["userinfo"]["roles"])."') OR `roleid` ='' OR `roleid` IS NULL)"; 278 278 else 279 279 $rolewhere = ""; -
trunk/phpbms/modules/base/javascript/adminsettings.js
r716 r756 303 303 checkForUpdate : function(manual){ 304 304 305 var url; 305 var url = APP_PATH; 306 306 307 if(manual) 307 url = "adminsettings_ajax.php?m=1";308 url += "adminsettings_ajax.php?m=1"; 308 309 else 309 url = "adminsettings_ajax.php?m=0";310 url += "adminsettings_ajax.php?m=0"; 310 311 311 312 loadXMLDoc(url, null, false);