fix for article language breaking sql insert

This commit is contained in:
Andrew Dolgov 2014-03-06 09:02:14 +04:00
parent 16c4803251
commit e95bb179a8

View file

@ -610,6 +610,8 @@
$entry_language = db_escape_string(substr($entry_language[0], 0, 2)); $entry_language = db_escape_string(substr($entry_language[0], 0, 2));
_debug("detected language: $entry_language", $debug_enabled); _debug("detected language: $entry_language", $debug_enabled);
} else {
$entry_language = "";
} }
} }