From f15b5552addd678526aa1cce7d2f0eb9c3558a15 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 12 Jul 2016 15:00:05 +0200 Subject: [PATCH] forgot to modify Link::get_data() --- api/src/Link.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/Link.php b/api/src/Link.php index 6654d02db1..ca2ccef071 100644 --- a/api/src/Link.php +++ b/api/src/Link.php @@ -1611,7 +1611,8 @@ class Link extends Link\Storage { throw new Exception\WrongParameter(__METHOD__."('$id')"); } - $ret = call_user_func_array('self::exec', $data); + $method = array_shift($data); + $ret = self::exec($method, $data); if (is_resource($ret)) fseek($ret, 0);