support pg problem fix

This commit is contained in:
xiaomlove
2026-04-16 04:03:52 +07:00
parent 00fdc2d08f
commit e3376c3f1b
5 changed files with 27 additions and 8 deletions
+3
View File
@@ -89,6 +89,9 @@ function sqlesc($value) {
}
function hash_pad($hash) {
if (is_resource($hash)) {
$hash = stream_get_contents($hash);
}
return str_pad($hash, 20);
}