Skip to content

Commit

Permalink
Revert "fix Twig dynamic translation (#1618)"
Browse files Browse the repository at this point in the history
This reverts commit 7a7ffd3.
  • Loading branch information
rhukster committed Aug 28, 2017
1 parent c52931e commit 3572833
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion system/src/Grav/Common/Language/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ public function translate($args, array $languages = null, $array_support = false
{
if (is_array($args)) {
$lookup = array_shift($args);
$languages = array_shift($args);
} else {
$lookup = $args;
$args = [];
Expand Down

0 comments on commit 3572833

Please sign in to comment.