diff options
author | David Rothstein <drothstein@gmail.com> | 2012-05-25 00:12:32 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-05-25 00:12:32 -0400 |
commit | da11da09fdbe9f36ac516448121b3837cc1cfdb2 (patch) | |
tree | 38c2136638b6a926dcc3575eab51d6a9bb0f71ed | |
parent | 762248332be000bdc459c17f79c217d866fed6c5 (diff) | |
download | brdo-da11da09fdbe9f36ac516448121b3837cc1cfdb2.tar.gz brdo-da11da09fdbe9f36ac516448121b3837cc1cfdb2.tar.bz2 |
Issue #1576300 by pwolanin: Fixed trim() expects parameter 1 to be string, array given in request_path() (line 2732 of bootstrap.inc).
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 4999113ad..d9f5aa1d8 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2699,7 +2699,7 @@ function request_path() { return $path; } - if (isset($_GET['q'])) { + if (isset($_GET['q']) && is_string($_GET['q'])) { // This is a request with a ?q=foo/bar query string. $_GET['q'] is // overwritten in drupal_path_initialize(), but request_path() is called // very early in the bootstrap process, so the original value is saved in |