mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
Fix for translations not substituting text properly #567
This commit is contained in:
@@ -966,9 +966,6 @@ class Admin
|
||||
{
|
||||
if (is_array($args)) {
|
||||
$lookup = array_shift($args);
|
||||
if (!empty($args)) {
|
||||
$languages = array_shift($args);
|
||||
}
|
||||
} else {
|
||||
$lookup = $args;
|
||||
$args = [];
|
||||
|
||||
Reference in New Issue
Block a user