Fix in where statements

This commit is contained in:
Antonio de la Rosa 2016-12-01 18:08:14 +01:00
parent 6578e20c25
commit 4cc0f6b19f
2 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@ class SelectForm extends BaseForm{
ob_start(); ob_start();
?> ?>
<select name="<?php echo $this->name; ?>" id="<?php echo $this->name; ?>_field_form"> <select name="<?php echo $this->name; ?>" id="<?php echo $this->name; ?>_field_form" class="<?php echo $this->css; ?>">
<?php <?php
foreach($this->arr_select as $value => $select) foreach($this->arr_select as $value => $select)

View file

@ -898,13 +898,13 @@ class Webmodel {
$arr_set_order=[0 => 'ASC', 1 => 'DESC']; $arr_set_order=[0 => 'ASC', 1 => 'DESC'];
if(isset($this->components[$key])) /*if(isset($this->components[$key]))
{ {*/
$arr_order[]=$key.' '.$arr_set_order[$order]; $arr_order[]=$this->escape_string($key).' '.$arr_set_order[$order];
$yes_order++; $yes_order++;
} //}
} }