From: Davide Franco Date: Tue, 7 Dec 2010 13:33:10 +0000 (+0100) Subject: bacula-web: Fixed bug with PEAR DB fetch mode in bweb.inc.php X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f91ae64fdb77de960b29883f98e69faa9147b659;p=bacula%2Fbacula bacula-web: Fixed bug with PEAR DB fetch mode in bweb.inc.php --- diff --git a/gui/bacula-web/bweb.inc.php b/gui/bacula-web/bweb.inc.php index 248207748d..4cb078990d 100644 --- a/gui/bacula-web/bweb.inc.php +++ b/gui/bacula-web/bweb.inc.php @@ -364,7 +364,7 @@ class Bweb extends DB { if (PEAR::isError( $jobs ) ) { die( "Unable to get last completed jobs status from catalog
" . $status->getMessage() ); }else { - return $jobs->fetchRow(); + return $jobs->fetchRow( DB_FETCHMODE_ASSOC ); } } // end function GetLastJobStatus()