[ 
https://issues.apache.org/jira/browse/OLIO-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akara Sucharitakul resolved OLIO-46.
------------------------------------

    Resolution: Fixed

Putting a $rowsFound boolean check and only access $tags if rowsFound is true 
prevents this error in all circumstances.

> Tags_Controller::getEventsPageTagCloud error with $tags undefined
> -----------------------------------------------------------------
>
>                 Key: OLIO-46
>                 URL: https://issues.apache.org/jira/browse/OLIO-46
>             Project: Olio
>          Issue Type: Bug
>          Components: php-app
>            Reporter: Akara Sucharitakul
>            Assignee: Akara Sucharitakul
>            Priority: Minor
>
> When there is no tag in the database and the tag cloud is empty, the 
> declaration of $tags array would not occur. Later usages will touch on an 
> undefined variable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to