mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #80453: Documentation example error
Actually, this example should better be rewritten to something simpler or at least something relevant. However, the unserialize() page has the counter example, so we postpone that, and apply an odd fix instead. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351822 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
43c1917b33
commit
22529a07ac
1 changed files with 1 additions and 1 deletions
|
@ -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, $sqldata)) {
|
||||
if (!odbc_execute($stmt, array_revers($sqldata))) {
|
||||
/* Something went wrong.. */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue