Changeset 2234:444cf8f1d87c for inc/admin
- Timestamp:
- 10/03/13 16:55:30 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/class.dc.favorites.php
r2230 r2234 107 107 } 108 108 $fattr = array_merge (array('id' => null,'class'=>null),$fattr); 109 if (!isset($fattr['permissions']) || $this->core->auth->check($fattr['permissions'],$this->core->blog->id)) { 110 return $fattr; 111 } else { 112 return false; 113 } 109 if (isset($fattr['permissions'])) { 110 if (is_bool($fattr['permissions']) && !$fattr['permissions'] ) { 111 return false; 112 } 113 if (!$this->core->auth->check($fattr['permissions'],$this->core->blog->id)) { 114 return false; 115 } 116 } 117 return $fattr; 114 118 } 115 119
Note: See TracChangeset
for help on using the changeset viewer.