]> git.mxchange.org Git - friendica.git/blobdiff - library/spam/b8/storage/storage_frndc.php
fixed syntax errors
[friendica.git] / library / spam / b8 / storage / storage_frndc.php
index 2b9374f6786a0ce1a9c9a85edfe77818152cdd77..cbc6fe81a91e0bb53df39e0d7e291c6bf87496f7 100644 (file)
@@ -256,7 +256,7 @@ class b8_storage_frndc extends b8_storage_base
                $token = dbesc($token);
                $count = dbesc($count);
                $uid = dbesc($uid);
-               array_push($this->_puts, '("' . $token . '", "' . $count . '", '"' . $uid .'")');
+               array_push($this->_puts, '("' . $token . '", "' . $count . '", "' . $uid .'")');
        }
 
        /**
@@ -273,7 +273,7 @@ class b8_storage_frndc extends b8_storage_base
                $token = dbesc($token);
                $count = dbesc($count);
                $uid = dbesc($uid);
-               array_push($this->_puts, '("' . $token . '", "' . $count . '", '"' . $uid .'")');
+               array_push($this->_puts, '("' . $token . '", "' . $count . '", "' . $uid .'")');
        }
 
        /**
@@ -325,7 +325,7 @@ class b8_storage_frndc extends b8_storage_base
                if(count($this->_updates) > 0) {
 
                        // this still needs work
-                       $result = q("select * from " . $this->config['table_name'] . ' where token = ';
+                       $result = q("select * from " . $this->config['table_name'] . ' where token = ');
 
                        
                        $result = q('