Skip to content
Snippets Groups Projects
Commit 5aa56159 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix exit into functions

parent 1a3bd97a
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class Translate
if (empty($domain))
{
dol_print_error('',get_class($this)."::Load ErrorWrongParameters");
exit;
return -1;
}
if ($this->defaultlang == 'none_NONE') return 0; // Special language code to not translate keys
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment