From 39b65169aab1cd042b1bd036b2487cab768db339 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 25 Jun 2008 11:25:40 -0400 Subject: [PATCH] class_mo.php --- includes/class_mo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class_mo.php b/includes/class_mo.php index abe37f0..17c24be 100644 --- a/includes/class_mo.php +++ b/includes/class_mo.php @@ -113,7 +113,7 @@ class MOReader $this->file = @fopen($this->filename, 'r'); if (!$this->file) { - $bugsys->debug("could not open MO file {$this->filename}"); + BSApp::debug("could not open MO file {$this->filename}"); return; } @@ -130,7 +130,7 @@ class MOReader } else { - trigger_error('Invalid MO file format'); + throw new Exception('Invalid MO file format'); } // read the revision (unused in MOs) -- 2.22.5