diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-05-29 22:47:04 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-05-29 22:47:04 +0000 |
commit | ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e (patch) | |
tree | 7e5788666158d3ba23d521b6ae20250f3d7a2b6d /lib/pinq/Controller.php | |
parent | 401b89f5fd2d45e999b04e849544ac76db8d323d (diff) | |
download | www-ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e.tar www-ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e.tar.gz www-ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e.tar.bz2 www-ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e.tar.xz www-ad6b6127a8849cb2d127f0b236ff1f12cd22ce1e.zip |
URI may have no query string
Diffstat (limited to 'lib/pinq/Controller.php')
-rw-r--r-- | lib/pinq/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pinq/Controller.php b/lib/pinq/Controller.php index 8bf87ce1c..af82c3b0d 100644 --- a/lib/pinq/Controller.php +++ b/lib/pinq/Controller.php @@ -228,7 +228,7 @@ class Pinq_Controller function fallback_to_previous_mode($uri, $lang) { $uri = explode('?', $uri); - $qs = $uri[1]; + $qs = count($uri) > 1 ? $uri[1] : null; $uri = $uri[0]; $alt_uri = sprintf( |