Change name Webmodel to WebModel
This commit is contained in:
parent
a7267ffc30
commit
0164401e7e
22 changed files with 195 additions and 195 deletions
|
|
@ -48,10 +48,10 @@ class FileField extends PhangoField {
|
|||
//Check the image for delete.
|
||||
//This field is used only for a row
|
||||
//echo $this->model_instance->conditions; die;
|
||||
$old_reset=Webmodel::$model[$this->name_model]->reset_conditions;
|
||||
Webmodel::$model[$this->name_model]->reset_conditions=0;
|
||||
$old_file=Webmodel::$model[$this->name_model]->select_a_row_where(array($this->name_component), 1)[$this->name_component];
|
||||
Webmodel::$model[$this->name_model]->reset_conditions=$old_reset;
|
||||
$old_reset=WebModel::$model[$this->name_model]->reset_conditions;
|
||||
WebModel::$model[$this->name_model]->reset_conditions=0;
|
||||
$old_file=WebModel::$model[$this->name_model]->select_a_row_where(array($this->name_component), 1)[$this->name_component];
|
||||
WebModel::$model[$this->name_model]->reset_conditions=$old_reset;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue