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