git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351823 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-12-01 16:23:33 +00:00
parent 22529a07ac
commit 1987cb8e71

View file

@ -95,7 +95,7 @@ $sqldata = array (serialize($session_data), $_SERVER['PHP_AUTH_USER']);
if (!odbc_execute($stmt, $sqldata)) {
$stmt = odbc_prepare($conn,
"INSERT INTO sessions (id, data) VALUES(?, ?)");
if (!odbc_execute($stmt, array_revers($sqldata))) {
if (!odbc_execute($stmt, array_reverse($sqldata))) {
/* Something went wrong.. */
}
}