From 7d1ae7284ceeba2b60371079ef9bc653e00da7f0 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 24 Sep 2005 18:47:33 +0000 Subject: [PATCH] r436: Only use E_USER_WARNING so they can fix the issue if it arrises --- includes/language.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/language.php b/includes/language.php index 07d8034..1f5b11a 100644 --- a/includes/language.php +++ b/includes/language.php @@ -44,13 +44,15 @@ function fetch_phrases($languageid, $forcexml = false) { if (!file_exists($language['filename'])) { - trigger_error('Cannot load XML strings file', E_USER_ERROR); + trigger_error('Cannot load XML strings file', E_USER_WARNING); + return; } $xmldata = file_get_contents($language['filename']); if ($xmldata === false) { - trigger_error('Error reading XML strings file', E_USER_ERROR); + trigger_error('Error reading XML strings file', E_USER_WARNING); + return; } $xml = $bugsys->xml->parse($xmldata); -- 2.22.5