From 4e8720ab534052d0f5bdbc35b42336efbbb8b2a6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 14 Dec 2011 17:00:18 +0800 Subject: [PATCH] I18n.php --- I18n.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/I18n.php b/I18n.php index 0470e79c..1d5bd685 100644 --- a/I18n.php +++ b/I18n.php @@ -90,6 +90,8 @@ class Pman_Core_I18N extends Pman $i->ltype = 'l'; // string(1) not_null multiple_key $i->lkey = $lang; // string(8) not_null if (!$i->count()) { + + $this->jerr('invalid lang configured: ' . $lang); } -- 2.39.2