Changeset 480 for trunk/lib/App.inc.php


Ignore:
Timestamp:
May 4, 2014 12:29:05 AM (10 years ago)
Author:
anonymous
Message:

Removed some legacy files. Improved use of array_key_exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/App.inc.php

    r479 r480  
    807807                unset($this->_carry_queries[$k]);
    808808            }
    809             if ($unset && array_key_exists($k, $_REQUEST)) {
     809            if ($unset && (isset($_REQUEST) && array_key_exists($k, $_REQUEST))) {
    810810                unset($_REQUEST[$k], $_GET[$k], $_POST[$k], $_COOKIE[$k]);
    811811            }
Note: See TracChangeset for help on using the changeset viewer.