include banner module, missing IF ELSE

Discuss everything related to ApPHP Restaurant Site script.

Moderators: ne_moj, alexmst, zewa, vadimako, ne_moj, alexmst, zewa, vadimako

paragate
Master
Master
Posts: 151
Joined: Nov 13th, '14, 13:04
Location: Denmark, Odense

include banner module, missing IF ELSE

Postby paragate » Sep 9th, '16, 19:46

In Banners module, BannersComponent.php
think an php else {$output=' ';} are missing

otherwise this function generate:
Notice: Undefined variable: output in /Users/henrik/Sites/restaurant/protected/modules/banners/components/BannersComponent.php on line 122

because of Viewer Type set to false (not all)

administrator
Site Admin
Site Admin
Posts: 5981
Joined: Jan 7th, '09, 23:18
Contact:

Re: include banner module, missing IF ELSE

Postby administrator » Sep 11th, '16, 09:06

Thanks, we'll check this issue.


Return to “ApPHP Restaurant Site {developers/users}”