mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
bool_to_sql_bool: for some reason PDO really likes integers for boolean columns
incidentally this fixes OPML filter import
This commit is contained in:
@@ -956,7 +956,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function bool_to_sql_bool($s) {
|
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
|
// Session caching removed due to causing wrong redirects to upgrade
|
||||||
|
|||||||
Reference in New Issue
Block a user