Zeile 120 | Zeile 120 |
---|
function get_friendly_errors() { global $lang;
|
function get_friendly_errors() { global $lang;
|
|
|
// Load the language pack we need if($this->language_file) {
| // Load the language pack we need if($this->language_file) {
|
Zeile 131 | Zeile 131 |
---|
foreach($this->errors as $error) { $lang_string = $this->language_prefix.'_'.$error['error_code'];
|
foreach($this->errors as $error) { $lang_string = $this->language_prefix.'_'.$error['error_code'];
|
if(!$lang->$lang_string)
| if(!isset($lang->$lang_string))
|
{ $errors[] = $error['error_code']; continue;
| { $errors[] = $error['error_code']; continue;
|