fixed syntax errors

This commit is contained in:
Alexander Kampmann 2012-02-27 14:12:44 +01:00
parent 579738aff7
commit 9986fc1910
1 changed files with 3 additions and 3 deletions

View File

@ -256,7 +256,7 @@ class b8_storage_frndc extends b8_storage_base
$token = dbesc($token); $token = dbesc($token);
$count = dbesc($count); $count = dbesc($count);
$uid = dbesc($uid); $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); $token = dbesc($token);
$count = dbesc($count); $count = dbesc($count);
$uid = dbesc($uid); $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) { if(count($this->_updates) > 0) {
// this still needs work // 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(' $result = q('