diff --git a/Changelog b/Changelog index 1854bb813..de8c10ac9 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-07-05 DariusIII + * Chg: Fix tables count in monitor pane * Chg: Use laravel DB facade in tmux related classes 2018-07-04 DariusIII * Chg: Update TmuxUIStart and run.php tmux related scripts diff --git a/misc/update/tmux/monitor.php b/misc/update/tmux/monitor.php index bb8a3d981..2bad6f2d1 100644 --- a/misc/update/tmux/monitor.php +++ b/misc/update/tmux/monitor.php @@ -184,9 +184,9 @@ while ($runVar['counts']['iterations'] > 0) { if ($psTableRowCount === false) { echo 'Unable to prepare statement, skipping monitor updates!'; - } elseif ($tables instanceof \Traversable) { + } else { foreach ($tables as $row) { - $tbl = $row['name']; + $tbl = $row->name; $stamp = 'UNIX_TIMESTAMP(MIN(dateadded))'; switch (true) { @@ -350,7 +350,6 @@ while ($runVar['counts']['iterations'] > 0) { function errorOnSQL() { echo ColorCLI::error(PHP_EOL.'Monitor encountered severe errors retrieving process data from MySQL. Please diagnose and try running again.'.PHP_EOL); - exit; } /**