mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
"fixed php5 only foreach syntax, as we still support php4"
This commit is contained in:
parent
7f8b7fb92f
commit
cb7eb66434
@ -233,7 +233,8 @@
|
|||||||
if(!$query['template'] || $query['template'] == 'etemplate.ajax_select_widget.row') {
|
if(!$query['template'] || $query['template'] == 'etemplate.ajax_select_widget.row') {
|
||||||
$query['template'] = 'etemplate.ajax_select_widget.row';
|
$query['template'] = 'etemplate.ajax_select_widget.row';
|
||||||
}
|
}
|
||||||
foreach($result_list as $key => &$row) {
|
foreach($result_list as $key => $nul) {
|
||||||
|
$row =& $result_list[$key]; // $key => &$row is php5!
|
||||||
if(!is_array($row)) {
|
if(!is_array($row)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user