svn: /pear/pearweb/trunk/include/pepr/ pepr-ppvote.php
[email protected] ("Daniel O'Connor") Wed, 13 Apr 2011 10:19:29 +0000
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
--a2feb09deb179a6454b6eef42f66794e9af8b8d1
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
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];
}
}
--a2feb09deb179a6454b6eef42f66794e9af8b8d1--