fix entries not inserted properly when no languages are detected
This commit is contained in:
parent
00f22824d7
commit
edba269b6f
1 changed files with 2 additions and 0 deletions
|
@ -577,6 +577,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 = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
$entry_comments = $item->get_comments_url();
|
$entry_comments = $item->get_comments_url();
|
||||||
|
|
Loading…
Reference in a new issue