Merge pull request #52 from campino/master

Corrected syntax error
This commit is contained in:
Simon 2012-02-27 06:07:46 -08:00
commit a33031634e

View 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('