FFS, another oops
This commit is contained in:
parent
d46fd7917f
commit
b84b2d5aa5
@ -35,8 +35,6 @@ function webpages_content(&$a) {
|
|||||||
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
|
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
|
||||||
|
|
||||||
$perms = get_all_perms($owner,$ob_hash);
|
$perms = get_all_perms($owner,$ob_hash);
|
||||||
if ($which == 'sys' && is_site_admin())
|
|
||||||
$perms['write_pages'] = 1;
|
|
||||||
|
|
||||||
if(! $perms['write_pages']) {
|
if(! $perms['write_pages']) {
|
||||||
notice( t('Permission denied.') . EOL);
|
notice( t('Permission denied.') . EOL);
|
||||||
|
Reference in New Issue
Block a user