Merge pull request #1322 from tugelbend/develop

bug fix: syntax error #1321
This commit is contained in:
Tobias Diekershoff 2015-01-28 08:04:04 +01:00
commit 5ad8b6abf6

View file

@ -1643,7 +1643,8 @@
$user_info = api_get_user($a); $user_info = api_get_user($a);
$ret = api_format_items($item,$user_info)[0]; $rets = api_format_items($item,$user_info);
$ret = $rets[0];
$data = array('$status' => $ret); $data = array('$status' => $ret);
switch($type){ switch($type){