mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-03 17:51:54 +01:00
foreach instead of while-list-each
This commit is contained in:
parent
fb1f4f9d6b
commit
acc5c0dfb0
@ -78,7 +78,7 @@
|
||||
/* Load hook file with functions to validate each config (one/none/all) */
|
||||
$GLOBALS['phpgw']->hooks->single('config_validate',$appname);
|
||||
|
||||
while (list($key,$config) = each($_POST['newsettings']))
|
||||
foreach($_POST['newsettings'] as $key => $config)
|
||||
{
|
||||
if ($config)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user