Skip to content

Commit

Permalink
Merge pull request #166 from dpDesignz/master
Browse files Browse the repository at this point in the history
fixBug: Error when trying to use $db->vardump()
  • Loading branch information
TheTechsTech authored Aug 19, 2019
2 parents e24fd33 + 0be3695 commit 7494b92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ezsqlModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ public function varDump($mixed = null)
echo " " . $func_string ."<br>\n";
}

echo "<b>Last Rows Returned:</b> ".((\count($this->last_result) > 0) ? $this->last_result[0] : '')."\n";
echo "<b>Last Rows Returned:</b><br>";
echo ((\count($this->last_result) > 0) ? print_r($this->last_result[0]) : '')."\n";
echo "</font></pre></font></blockquote></td></tr></table>";//.$this->donation();
echo "\n<hr size=1 noshade color=dddddd>";

Expand Down

0 comments on commit 7494b92

Please sign in to comment.