// do not use sprintf when it is useless

This commit is contained in:
fram committed 2013-11-12 09:21:05 +01:00
1 parent e2d8a33a81
commit ab730dc3da
1 file changed
+3 -1
+3 -1
View File
@@ -136,7 +136,9 @@ class InstallLanguages
} }
$args[0] = $translation; $args[0] = $translation;
return call_user_func_array('sprintf', $args); if(count($args) > 1)
return call_user_func_array('sprintf', $args);
else return $translation;
} }
/** /**