1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 21:02:09 +02:00

More deprecated function/method cleanup.

This commit is contained in:
Cameron
2016-02-15 01:07:34 -08:00
parent 2c50a06517
commit b402a12ec7
6 changed files with 16 additions and 11 deletions

View File

@@ -190,7 +190,7 @@ else
{
$text .= "
<select name='cat_id' class='tbox form-control'>";
while (list($cat_id, $cat_name, $cat_icon) = $sql->db_Fetch('num'))
while (list($cat_id, $cat_name, $cat_icon) = $sql->fetch('num'))
{
$sel = (varset($_POST['cat_id'],'') == $cat_id) ? "selected='selected'" : "";
$text .= "<option value='{$cat_id}' {$sel}>".$tp->toHTML($cat_name, FALSE, "defs")."</option>";