forkcms/forkcms — pull request #199 by bartdeslagmulder (2012-01-07 16:19:25+00:00)
Title: Fixed notices in frontend/ and backend/ generated by an unused $get var in core/engine/url.php

Hi,

After checking out the latest fork version (3.1.9, debug mode on) I encountered a PHP notice whenever you were browsing a page which was not root (domain.tld/) or no question mark (for example: edit?id=1) was found in the url):

Frontend: Notice: Undefined offset: 1 in /home/bart/public_html/fork-cms/forkcms/public/www/frontend/core/engine/url.php on line 450.

Example pages: domain.tld/blog or domain.tld/blog/detail/testing

Backend: Notice: Undefined offset: 1 in /home/bart/public_html/fork-cms/forkcms/public/www/backend/core/engine/url.php on line 355.

Example pages: private/nl/dashboard/index or private/nl/pages/index

Fix: By removing the unused $get var from the list() function the notice is gone.

Bart
1st pull request! ^^