Skip to content
Snippets Groups Projects
Commit d6d2250e authored by Martin Nilsson's avatar Martin Nilsson
Browse files

This is probably a good idea.

Rev: lib/modules/Locale.pmod/module.pmod:1.2
parent 7cb6548f
Branches
Tags
No related merge requests found
......@@ -322,7 +322,7 @@ function call(string project, string lang, string name,
if(!locale_object || !(f=locale_object->is_function(name)))
if(stringp(fb)) {
locale_object = get_object(project, fb);
if(!(f=locale_object->is_function(name)))
if(!locale_object || !(f=locale_object->is_function(name)))
return 0;
}
return f || [function]fb;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment