Completed
Push — 0.2.3 ( 4e241d...b4719c )
by Anton
06:36 queued 02:56
created
www/engine/System/Classes/Modules/Entitizer/Utils/Entity/Entity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
www/engine/System/Classes/Modules/Entitizer/Utils/Definition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
www/engine/System/Classes/Modules/Entitizer/Utils/Entity/Action/Remove.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.