mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
use foreach() instead of deprecated each() (fixes #190)
This commit is contained in:
parent
e2c6b927c8
commit
007bf95589
@ -10,7 +10,7 @@ $qry_content = $xmltree->GetContent('urn:ietf:params:xml:ns:caldav:calendar-quer
|
|||||||
$properties = array();
|
$properties = array();
|
||||||
$include_properties = array();
|
$include_properties = array();
|
||||||
$need_expansion = false;
|
$need_expansion = false;
|
||||||
while (list($idx, $qqq) = each($qry_content))
|
foreach ($qry_content as $idx => $qqq)
|
||||||
{
|
{
|
||||||
$proptype = $qry_content[$idx]->GetNSTag();
|
$proptype = $qry_content[$idx]->GetNSTag();
|
||||||
switch( $proptype ) {
|
switch( $proptype ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user