mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Remove Zend
This commit is contained in:
parent
ee659bb190
commit
3e161065f3
2494 changed files with 7 additions and 298818 deletions
|
@ -2113,7 +2113,7 @@ function get_poll_data_items_js($topic_id)
|
|||
$items[$row['topic_id']][$row['vote_id']] = array($opt_text_for_js, $opt_result_for_js);
|
||||
}
|
||||
foreach ($items as $k => $v) {
|
||||
$items[$k] = Zend\Json\Json::encode($v);
|
||||
$items[$k] = json_encode($v);
|
||||
}
|
||||
|
||||
return is_array($topic_id) ? $items : $items[$topic_id];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue