Code Duplication    Length = 1-1 lines in 2 locations

www/engine/System/Classes/Modules/Entitizer/Entity/Page.php 1 location

@@ 77-77 (lines=1) @@
74
75
			# Select entity from DB
76
77
			if (($this->error = !(DB::send($query) && DB::last()->status)) || (DB::last()->rows !== 1)) return false;
78
79
			# ------------------------
80

www/engine/System/Classes/Modules/Entitizer/Utils/Entity.php 1 location

@@ 111-111 (lines=1) @@
108
				DB::select(static::$table, $selection, [$name => $value], null, 1);
109
			}
110
111
			if (($this->error = !(DB::last() && DB::last()->status)) || (DB::last()->rows !== 1)) return false;
112
113
			# ------------------------
114