mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-20 14:59:41 +01:00
fixes
This commit is contained in:
@@ -950,10 +950,13 @@ function delete_olang($words = '', $lang = 'en', $plg_id = 0)
|
|||||||
global $dbprefix, $SQL;
|
global $dbprefix, $SQL;
|
||||||
|
|
||||||
if (is_array($words))
|
if (is_array($words))
|
||||||
|
{
|
||||||
|
foreach ((array) $lang as $language)
|
||||||
{
|
{
|
||||||
foreach ($words as $w)
|
foreach ($words as $w)
|
||||||
{
|
{
|
||||||
delete_olang($w, $lang);
|
delete_olang($w, $language);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user