https://bugzilla.wikimedia.org/show_bug.cgi?id=27360

--- Comment #6 from Markus Krötzsch <mar...@semantic-mediawiki.org> 2011-02-14 
09:43:18 UTC ---
Our code still has things like

$dv = reset( $data->getPropertyValues( $property ) );

which should cause this message to appear as well (or does it not?). If this is
the case, the bug should remain open until we rewrote all such uses to
something like

$values = $data->getPropertyValues( $property );
$dv = reset( $values );

I wonder if there isn't a more direct way of getting the first/last element of
a PHP array without assigning it to a variable first.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to