comparison patches/9-fix_warnings_php_fgm.patch @ 2:c076d54409cb

Popus: Version RF
author Franck Deroche <franck@defr.org>
date Fri, 31 Dec 2010 13:46:12 +0100
parents
children
comparison
equal deleted inserted replaced
0:76f9b43738f2 2:c076d54409cb
1 Index: popups.module
2 ===================================================================
3 --- popups.module (révision 2370)
4 +++ popups.module (copie de travail)
5 @@ -295,7 +295,7 @@
6 static $added = FALSE;
7 static $shouldAdd = NULL;
8 if (is_null($shouldAdd)) {
9 - $shouldAdd = $_SERVER['HTTP_X_REQUESTED_WITH'] != 'XMLHttpRequest' || $_SESSION['page_override'];
10 + $shouldAdd = !isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH'] != 'XMLHttpRequest' || $_SESSION['page_override'];
11 }
12 $settings = array('popups' => array());
13