Revision 906
Added by doc almost 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.0 -------------------------------------- |
| 14 |
08-Jan-2009 Christian Sommer |
|
| 15 |
# fixed error message in admin class if type array not defined |
|
| 14 | 16 |
05-Jan-2009 Dietrich Roland Pehlke |
| 15 | 17 |
# Code-Snippets are no longer shown as type: unknown. |
| 16 | 18 |
+ Additional key in the languagefiles "$TEXT['CODE_SNIPPET']"; |
| trunk/wb/framework/class.admin.php | ||
|---|---|---|
| 213 | 213 |
// Set template permissions var |
| 214 | 214 |
$template_permissions = $this->get_session('TEMPLATE_PERMISSIONS');
|
| 215 | 215 |
// Return true if system perm = 1 |
| 216 |
if(is_numeric(array_search($name, $$type))) {
|
|
| 216 |
if (isset($$type) && is_array($$type) && is_numeric(array_search($name, $$type))) {
|
|
| 217 | 217 |
if($type == 'system_permissions') {
|
| 218 | 218 |
return true; |
| 219 | 219 |
} else {
|
Also available in: Unified diff
fixed error message in admin class if type array not defined