correct bot id
This commit is contained in:
parent
268cfddd3e
commit
a392ee2afa
|
@ -31,7 +31,7 @@ if(!$postParams){
|
||||||
else
|
else
|
||||||
$selected='';
|
$selected='';
|
||||||
|
|
||||||
echo '<option value="'.$i."-".$bots[$i]['name'].'" '.$selected.'>'.$bots[$i]['name'].'</option>';
|
echo '<option value="'.$bots[$i]['id']."-".htmlentities($bots[$i]['name']).'" '.$selected.'>'.htmlentities($bots[$i]['name']).'</option>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
@ -44,7 +44,7 @@ if(!$postParams){
|
||||||
else
|
else
|
||||||
$selected='';
|
$selected='';
|
||||||
|
|
||||||
echo '<option value="'.$i."-".$bots[$i]['name'].'" '.$selected.'>'.$bots[$i]['name'].'</option>';
|
echo '<option value="'.$bots[$i]['id']."-".htmlentities($bots[$i]['name']).'" '.$selected.'>'.htmlentities($bots[$i]['name']).'</option>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select></em>
|
</select></em>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user