Commit 51ab398f authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3105 Fixed a syntax not working on PHP 5.3

Showing with 2 additions and 1 deletion
+2 -1
...@@ -72,7 +72,8 @@ class simpleSelectManagement extends simpleManagement ...@@ -72,7 +72,8 @@ class simpleSelectManagement extends simpleManagement
$pid = func_get_arg(0); $pid = func_get_arg(0);
$row = func_get_arg(1); $row = func_get_arg(1);
$dn = func_get_arg(2); $dn = func_get_arg(2);
$trans = func_get_arg(3)[0]; $trans = func_get_arg(3);
$trans = $trans[0];
if ($trans != "") { if ($trans != "") {
return "<a href='?plug=".$_GET['plug']."&amp;PID=$pid&amp;act=listing_select_$row&amp;add_finish=1' title='$dn'>$trans</a>"; return "<a href='?plug=".$_GET['plug']."&amp;PID=$pid&amp;act=listing_select_$row&amp;add_finish=1' title='$dn'>$trans</a>";
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment