Bug: Page may crash using 'develop' branch
Reported by dleffler | January 23rd, 2013 @ 08:35 PM | in 2.1.1 (closed)
The error would be line #698 in expRouter.php. The fix is to change line #691 from
$section = $this->url_style=="sef" ? $this->getPageByName($_REQUEST['section']) : intval($_REQUEST['section']) ;
to
$section = $this->url_style=="sef" ? $this->getPageByName($_REQUEST['section'])->id : intval($_REQUEST['section']) ;
Note the additon of the ->id just before the colon :
Comments and changes to this ticket
-
expNinja January 24th, 2013 @ 04:32 PM
- State changed from new to resolved
(from [dc67d769c762ce3ef26a128700b218843b784812]) Fixes an error/crash which may crop up when changing pages [#879 state:resolved] https://github.com/exponentcms/exponent-cms/commit/dc67d769c762ce3e...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS