From 727a0da45f839195967bb6608347649e079490f5 Mon Sep 17 00:00:00 2001 From: SargTeX Date: Sat, 4 Aug 2012 00:22:56 +0300 Subject: [PATCH] Updated whitespaces Fixed missing whitespaces after comments and foreach --- .../install/files/lib/data/DatabaseObjectEditor.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php b/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php index 193ffdc6b5..c624f22bc2 100644 --- a/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php +++ b/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php @@ -53,16 +53,16 @@ abstract class DatabaseObjectEditor extends DatabaseObjectDecorator implements I public function update(array $parameters = array()) { if (!count($parameters)) return; - //check wether any value changed or not + // check wether any value changed or not $update = false; - foreach($parameters as $name => $value) { + foreach ($parameters as $name => $value) { if ($this->__get($name) != $value) { $update = true; break; } } - //there is no new data - break to avoid senseless sql queries + // there is no new data - break to avoid senseless sql queries if (!$update) return; $updateSQL = ''; -- 2.20.1