FFS, another oops

This commit is contained in:
Thomas Willingham 2014-10-11 16:19:36 +01:00
parent d46fd7917f
commit b84b2d5aa5

View File

@ -35,8 +35,6 @@ function webpages_content(&$a) {
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
$perms = get_all_perms($owner,$ob_hash);
if ($which == 'sys' && is_site_admin())
$perms['write_pages'] = 1;
if(! $perms['write_pages']) {
notice( t('Permission denied.') . EOL);