mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 09:45:39 +02: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