foreach: invalid argument
This commit is contained in:
parent
8f181bb188
commit
bb3d56a0b2
@ -66,6 +66,7 @@ class Acl extends \Zotlabs\Web\Controller {
|
||||
intval($start)
|
||||
);
|
||||
|
||||
if($r) {
|
||||
foreach($r as $g){
|
||||
// logger('acl: group: ' . $g['gname'] . ' members: ' . group_get_members_xchan($g['id']));
|
||||
$groups[] = array(
|
||||
@ -79,6 +80,7 @@ class Acl extends \Zotlabs\Web\Controller {
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($type=='' || $type=='c') {
|
||||
$extra_channels_sql = '';
|
||||
@ -204,7 +206,7 @@ class Acl extends \Zotlabs\Web\Controller {
|
||||
else
|
||||
$r = array();
|
||||
|
||||
if(count($r)) {
|
||||
if($r) {
|
||||
foreach($r as $g){
|
||||
|
||||
// remove RSS feeds from ACLs - they are inaccessible
|
||||
|
@ -1738,7 +1738,7 @@ class Admin extends \Zotlabs\Web\Controller {
|
||||
|
||||
// name, label, value, help string, extra data...
|
||||
'$debugging' => array('debugging', t("Debugging"),get_config('system','debugging'), ""),
|
||||
'$logfile' => array('logfile', t("Log file"), get_config('system','logfile'), t("Must be writable by web server. Relative to your Red top-level directory.")),
|
||||
'$logfile' => array('logfile', t("Log file"), get_config('system','logfile'), t("Must be writable by web server. Relative to your top-level webserver directory.")),
|
||||
'$loglevel' => array('loglevel', t("Log level"), get_config('system','loglevel'), "", $log_choices),
|
||||
|
||||
'$form_security_token' => get_form_security_token('admin_logs'),
|
||||
|
Reference in New Issue
Block a user