1
0

entryproperties userlevel check var has strictly changed...

this old var (and the new) did work before, but what made it change?
This commit is contained in:
Ian
2013-03-10 10:38:40 +01:00
parent 1c302acb5e
commit 1d1a68aa17

View File

@ -15,7 +15,7 @@ class serendipity_event_entryproperties extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '1.32');
$propbag->add('version', '1.33');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
@ -569,7 +569,7 @@ class serendipity_event_entryproperties extends serendipity_event
break;
case 'backend_sidebar_entries':
if ($is_cache && $serendipity['userlevel'] >= USERLEVEL_ADMIN) {
if ($is_cache && $serendipity['serendipityUserlevel'] >= USERLEVEL_ADMIN) {
?>
<li class="serendipitySideBarMenuLink serendipitySideBarMenuEntryLinks"><a href="?serendipity[adminModule]=event_display&amp;serendipity[adminAction]=buildcache"><?php echo PLUGIN_EVENT_ENTRYPROPERTY_BUILDCACHE; ?></a></li>
<?php