a bit of e_all cleanup
This commit is contained in:
@@ -9,6 +9,8 @@ require_once('include/Photo.php');
|
||||
|
||||
function collect_recipients($item,&$private) {
|
||||
|
||||
require_once('include/group.php');
|
||||
|
||||
if($item['allow_cid'] || $item['allow_gid'] || $item['deny_cid'] || $item['deny_gid']) {
|
||||
$allow_people = expand_acl($item['allow_cid']);
|
||||
$allow_groups = expand_groups(expand_acl($item['allow_gid']));
|
||||
|
||||
@@ -52,7 +52,7 @@ EOT;
|
||||
$observer = $a->get_observer();
|
||||
|
||||
|
||||
$myident = (($channel) ? $channel['xchan_address'] : '');
|
||||
$myident = (($channel) ? $channel['xchan_addr'] : '');
|
||||
|
||||
$sitelocation = (($myident) ? $myident : $a->get_hostname());
|
||||
|
||||
|
||||
@@ -484,8 +484,11 @@ function theme_include($file) {
|
||||
'view/$file'
|
||||
);
|
||||
|
||||
$parent = get_app()->theme_info['extends'];
|
||||
if(! $parent)
|
||||
$theme_info = get_app()->theme_info;
|
||||
|
||||
if(array_key_exists('extends',$theme_info))
|
||||
$parent = $theme_info['extends'];
|
||||
else
|
||||
$parent = 'NOPATH';
|
||||
|
||||
foreach($paths as $p) {
|
||||
|
||||
@@ -121,7 +121,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive
|
||||
}
|
||||
|
||||
|
||||
if($return || $_SESSION['workflow']) {
|
||||
if($return || x($_SESSION,'workflow')) {
|
||||
unset($_SESSION['workflow']);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user