bug #1388116, cannot pass TRUE by reference to PMA_setCookie
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
|||||||
2005-12-22 Marc Delisle <lem9@users.sourceforge.net>
|
2005-12-22 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php, libraries/common.lib.php: bug #1381856,
|
* tbl_change.php, libraries/common.lib.php: bug #1381856,
|
||||||
Cannot edit a table having 40 columns
|
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>
|
2005-12-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/danish: Updated, thanks to AlleyKat - dk_alleykat
|
* lang/danish: Updated, thanks to AlleyKat - dk_alleykat
|
||||||
|
@@ -2492,7 +2492,7 @@ window.parent.updateTableTitle('<?php echo $uni_tbl; ?>', '<?php echo PMA_jsForm
|
|||||||
* @param string $default default value
|
* @param string $default default value
|
||||||
* @return boolean result of setcookie()
|
* @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) {
|
if (!empty($value) && null !== $default && $value === $default) {
|
||||||
// remove cookie, default value is used
|
// remove cookie, default value is used
|
||||||
|
Reference in New Issue
Block a user