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:
@@ -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>";
|
||||
|
Reference in New Issue
Block a user