Skip to content

Commit

Permalink
Merge pull request #1303 from rmasters/1302-undefinedresultset-rc
Browse files Browse the repository at this point in the history
Fixes Undefined variable PHP Notice, closes #1302
  • Loading branch information
ginatrapani committed Apr 10, 2012
2 parents ae35b83 + a1d02e8 commit 8a813a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/_lib/model/class.GroupMembershipCountMySQLDAO.php
Expand Up @@ -88,6 +88,7 @@ public function getHistory($network_user_id, $network, $units, $limit=10) {
$ps = $this->execute($q, $vars);
$history_rows = $this->getDataRowsAsArrays($ps);

$resultset = array();
foreach ($history_rows as $row) {
$timestamp = strtotime($row['full_date']);
$resultset[] = array('c' => array(
Expand Down

0 comments on commit 8a813a1

Please sign in to comment.