svn: /pear/pearweb/trunk/include/pepr/ pepr-ppvote.php
| From: | Daniel O'Connor | Date: | Wed, 13 Apr 2011 10:19:29 +0000 |
| Subject: | svn: /pear/pearweb/trunk/include/pepr/ pepr-ppvote.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9893@lists.php.net to get a copy of this message | ||
clockwerx Wed, 13 Apr 2011 10:19:29 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310200
Log:
Cast to array
Changed paths:
U pear/pearweb/trunk/include/pepr/pepr-ppvote.php
Modified: pear/pearweb/trunk/include/pepr/pepr-ppvote.php
===================================================================
--- pear/pearweb/trunk/include/pepr/pepr-ppvote.php 2011-04-13 10:18:19 UTC (rev 310199)
+++ pear/pearweb/trunk/include/pepr/pepr-ppvote.php 2011-04-13 10:19:29 UTC (rev 310200)
@@ -93,7 +93,7 @@
if ($humanReadable) {
$res = array();
if (!empty($this->reviews)) {
- foreach ($this->reviews as $review) {
+ foreach ((array)$this->reviews as $review) {
$res[] = $GLOBALS['proposalReviewsMap'][$review];
}
}