When checking loadModules() for empty module it doesn't return false
Reported by Mike_MnD | February 22nd, 2010 @ 04:32 PM | in 0.8 alpha
For example:
$left_module = $this->Infinitas->loadModules('left');
and than:
echo strlen($left_module);
And there aren't any modules set for this possition
it still gives back a result of "32" instead of "0"
so when check is made !empty($left_module) it returns false
Comments and changes to this ticket
-
dogmatic69 February 22nd, 2010 @ 04:40 PM
- State changed from new to open
need possibly to do a patch for cake that checks if the element exists before displaying it.
-
dogmatic69 February 26th, 2010 @ 03:22 AM
- Assigned user changed from dogmatic69 to dogmatic69
submitted a patch to cake for a elementExists() method so when that is in the cake core i will implement the check in infinitas
-
dogmatic69 April 1st, 2010 @ 12:19 PM
- Milestone changed from 0.7 alpha to 0.8 alpha
- State changed from open to hold
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 ยป
Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.
Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".