diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2020-05-08 11:28:26 +0000 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2020-05-08 11:29:27 +0000 |
commit | 2788c5b65ba8a8819414fda529b92dc2bbaa222c (patch) | |
tree | e41762d7cbc6f644bbf68084ad0f621f832b53cb | |
parent | 773681a3ba14cde8b00b910356b3a71f2f8a1a13 (diff) |
php7 compat: cannot do ->['foo']() anymore?
-rw-r--r-- | includes/eqdkp.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/includes/eqdkp.php b/includes/eqdkp.php index e874543..9f4b77d 100644 --- a/includes/eqdkp.php +++ b/includes/eqdkp.php @@ -596,8 +596,9 @@ class EQdkp_Admin {
$user->check_auth($button['check']);
}
- $this->last_process = $button['process'];
- $this->$button['process']();
+ $process = $button['process'];
+ $this->last_process = $process;
+ $this->$process();
}
}
}
@@ -617,8 +618,9 @@ class EQdkp_Admin {
$user->check_auth($param['check']);
}
- $this->last_process = $param['process'];
- $this->$param['process']();
+ $process = $param['process'];
+ $this->last_process = $process;
+ $this->$process();
}
}
else
@@ -629,8 +631,9 @@ class EQdkp_Admin {
$user->check_auth($param['check']);
}
- $this->last_process = $param['process'];
- $this->$param['process']();
+ $process = $param['process'];
+ $this->last_process = $process;
+ $this->$process();
}
}
}
|