mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-19 19:42:59 -04:00
postgres fixes
This commit is contained in:
@@ -649,7 +649,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
|
||||
$values[] = intval($id);
|
||||
break;
|
||||
case 'A':
|
||||
$where .= '1 ';
|
||||
$where .= '1=1 ';
|
||||
break;
|
||||
default:
|
||||
throw new FreshRSS_EntriesGetter_Exception('Bad type in Entry->listByType: [' . $type . ']!');
|
||||
|
||||
@@ -67,7 +67,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
|
||||
|
||||
$set = '';
|
||||
foreach ($valuesTmp as $key => $v) {
|
||||
$set .= $key . '=?, ';
|
||||
$set .= '`' . $key . '`=?, ';
|
||||
|
||||
if ($key == 'httpAuth') {
|
||||
$valuesTmp[$key] = base64_encode($v);
|
||||
|
||||
Reference in New Issue
Block a user