1
0
Fork 0

bool_to_sql_bool: for some reason PDO really likes integers for boolean columns

incidentally this fixes OPML filter import
Dieser Commit ist enthalten in:
Andrew Dolgov 2017-12-06 00:12:28 +03:00
Ursprung 8e1450aa15
Commit 76fc7a2d9c

Datei anzeigen

@ -956,7 +956,7 @@
}
function bool_to_sql_bool($s) {
return (bool)$s; //no-op for PDO
return $s ? 1 : 0;
}
// Session caching removed due to causing wrong redirects to upgrade