Completed
Pull Request — master (#10)
by
unknown
04:40 queued 01:55
created
Classes/Service/Targets/InsertUpdateTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $record_exists    = false;
107 107
         $entry_username   = $entry['0'];
108 108
 
109
-        $this->configuration    = $this->getConfiguration();
109
+        $this->configuration = $this->getConfiguration();
110 110
 
111 111
         if ($this->firstTime == "1") {
112 112
             $this->firstTime = 0;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     public function getRecords($selectFields)
144 144
     {
145 145
         $fromTable        = $this->configuration['target_table'];
146
-        $whereStatement   = "pid = '".$this->configuration['pid']."'";
146
+        $whereStatement   = "pid = '" . $this->configuration['pid'] . "'";
147 147
 
148 148
         $GLOBALS['TYPO3_DB']->store_lastBuiltQuery = 1;
149 149
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     public function updateRecord(array $entry)
190 190
     {
191 191
         $into_table       = $this->configuration['target_table'];
192
-        $whereStatement   = "pid = '".$this->configuration['pid']."' AND username = '".$entry[0]."'";
192
+        $whereStatement   = "pid = '" . $this->configuration['pid'] . "' AND username = '" . $entry[0] . "'";
193 193
                            
194 194
         $field_values     = array();
195 195
         $tmp_arr          = array();
Please login to merge, or discard this patch.