From: SargTeX Date: Fri, 3 Aug 2012 21:22:56 +0000 (+0300) Subject: Updated whitespaces X-Git-Tag: 2.0.0_Beta_1~885^2~3^2~1^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=727a0da45f839195967bb6608347649e079490f5;p=GitHub%2FWoltLab%2FWCF.git Updated whitespaces Fixed missing whitespaces after comments and foreach --- 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 = '';