$_REQUEST['startMonth'] = $_REQUEST['endMonth'] = date('m/d/Y', $time);
}
$search = filter_var($_REQUEST['search'], FILTER_VALIDATE_BOOLEAN);
+ if ($search && isset($_REQUEST['eventName']) && !$eventName = filter_var($_REQUEST['eventName'])) {
+ $search = false;
+ }
$t = filter_var($_REQUEST['t']);
$eventId = filter_var($_REQUEST['eventid'], FILTER_VALIDATE_INT);
if (!$t && !$search && !$eventId) {
define('COMMON_APP_PATH', $appPath);
// now only need to pull in the main file to run the app
// pull in admin.php file
+ unset($GLOBALS['bottomScripts']['external']);
require COMMON_APP_PATH . 'Bootstrap.php';
} else {
$events = new Toolkit_Events_Display(