改名
This commit is contained in:
@@ -72,12 +72,11 @@ class SqlBuilder extends Component
|
|||||||
{
|
{
|
||||||
$string = $array = [];
|
$string = $array = [];
|
||||||
|
|
||||||
var_dump($attributes);
|
|
||||||
foreach ($attributes as $attribute => $value) {
|
foreach ($attributes as $attribute => $value) {
|
||||||
$string[] = $attribute . '=' . $attribute . $opera . $value;
|
$string[] = $attribute . '=' . $attribute . $opera . $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($string) || empty($array)) {
|
if (empty($string)) {
|
||||||
return $this->addError('None data update.');
|
return $this->addError('None data update.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user