bool_to_sql_bool: for some reason PDO really likes integers for boolean columns
incidentally this fixes OPML filter import
這個提交存在於:
父節點
8e1450aa15
當前提交
76fc7a2d9c
共有 1 個檔案被更改,包括 1 行新增 和 1 行删除
|
@ -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
|
||||
|
|
載入中…
新增問題並參考