Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

When checking loadModules() for empty module it doesn't return false

#146

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

Reported by Mike_MnD · February 22nd, 2010 @ 04:32 PM

State: hold
Milestone: 0.8 alpha
Assigned to: dogmatic69 dogmatic69

Activity

  1. dogmatic69
    dogmatic69
    • State changed from new to open

    need possibly to do a patch for cake that checks if the element exists before displaying it.

    February 22nd, 2010 @ 04:40 PM

  2. dogmatic69
    dogmatic69
    • 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

    February 26th, 2010 @ 03:22 AM

  3. dogmatic69
    dogmatic69
    • Milestone changed from 0.7 alpha to 0.8 alpha
    • State changed from open to hold

    April 1st, 2010 @ 12:19 PM

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.