summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalvis2010-04-03 15:52:54 (GMT)
committer salvis2010-04-03 15:52:54 (GMT)
commit1cc02057814e83b4b7de0e808a2bca60b3f90238 (patch)
tree8f63a18e41e7bc71be3acc9b3c7024762eceab87
parentee41df0e1e60d6975754425814c7efa394fa5bab (diff)
Fix misplaced parenthesis, fix comment (I've seen it on WAMP).
-rw-r--r--devel.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel.module b/devel.module
index 65e485b..c61c2e8 100644
--- a/devel.module
+++ b/devel.module
@@ -496,7 +496,7 @@ function devel_set_handler($handler) {
}
function devel_silent() {
- // isset($_GET['q']) is needed on IIS when calling the front page. q is not set.
+ // isset($_GET['q']) is needed when calling the front page. q is not set.
// Don't interfere with private files/images.
return
function_exists('drupal_is_cli') && drupal_is_cli() ||
@@ -507,8 +507,8 @@ function devel_silent() {
(isset($_GET['q']) && (
in_array($_GET['q'], array( 'admin/content/node-settings/rebuild')) ||
substr($_GET['q'], 0, strlen('system/files')) == 'system/files' ||
- substr($_GET['q'], 0, strlen('batch')) == 'batch') ||
- substr($_GET['q'], 0, strlen('file/ajax')) == 'file/ajax'
+ substr($_GET['q'], 0, strlen('batch')) == 'batch' ||
+ substr($_GET['q'], 0, strlen('file/ajax')) == 'file/ajax')
);
}