From f91ae64fdb77de960b29883f98e69faa9147b659 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Tue, 7 Dec 2010 14:33:10 +0100 Subject: [PATCH] bacula-web: Fixed bug with PEAR DB fetch mode in bweb.inc.php --- gui/bacula-web/bweb.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5