bug #1388116, cannot pass TRUE by reference to PMA_setCookie

This commit is contained in:
Marc Delisle
2005-12-22 16:09:31 +00:00
parent d1eb191324
commit 3efc3b718c
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2005-12-22 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php, libraries/common.lib.php: bug #1381856,
Cannot edit a table having 40 columns
* libraries/common.lib.php: bug #1388116, cannot pass TRUE by reference
to PMA_setCookie, thanks to Isaac Bennetch
2005-12-21 Marc Delisle <lem9@users.sourceforge.net>
* lang/danish: Updated, thanks to AlleyKat - dk_alleykat

View File

@@ -2492,7 +2492,7 @@ window.parent.updateTableTitle('<?php echo $uni_tbl; ?>', '<?php echo PMA_jsForm
* @param string $default default value
* @return boolean result of setcookie()
*/
function PMA_setCookie($cookie, &$value, $default = null)
function PMA_setCookie($cookie, $value, $default = null)
{
if (!empty($value) && null !== $default && $value === $default) {
// remove cookie, default value is used