Changeset 756 for trunk/phpbms/modules/base/include/snapshot_include.php
- Timestamp:
- 01/14/10 13:29:02 (2 years ago)
- Files:
-
- 1 modified
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 = "";