@@ -86,7 +86,7 @@ |
||
86 | 86 | |
87 | 87 | $name = $param->name(); $value = $param->cast($value); |
88 | 88 | |
89 | - $condition = ($name . " = '" . addslashes($value) . "' AND id != " . $this->id); |
|
89 | + $condition = ($name." = '".addslashes($value)."' AND id != ".$this->id); |
|
90 | 90 | |
91 | 91 | DB::select(static::$table, 'id', $condition, null, 1); |
92 | 92 |
@@ -85,9 +85,9 @@ |
||
85 | 85 | |
86 | 86 | $set = array_merge($this->getStatements('fieldStatement'), $this->getStatements('keyStatement')); |
87 | 87 | |
88 | - $query = ("CREATE TABLE IF NOT EXISTS `" . static::$table . "`") . |
|
88 | + $query = ("CREATE TABLE IF NOT EXISTS `".static::$table."`"). |
|
89 | 89 | |
90 | - ("(" . implode(", ", $set) . ") ENGINE=InnoDB DEFAULT CHARSET=utf8"); |
|
90 | + ("(".implode(", ", $set).") ENGINE=InnoDB DEFAULT CHARSET=utf8"); |
|
91 | 91 | |
92 | 92 | # ------------------------ |
93 | 93 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | |
42 | 42 | # Reset data |
43 | 43 | |
44 | - $this->id = 0; $this->data = $this->definition->implement(); |
|
44 | + $this->id = 0; $this->data = $this->definition->implement(); |
|
45 | 45 | |
46 | 46 | # Reset path |
47 | 47 |