You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-dev@incubator.apache.org by "Akara Sucharitakul (JIRA)" <ji...@apache.org> on 2009/01/27 01:00:59 UTC
[jira] Created: (OLIO-46) Tags_Controller::getEventsPageTagCloud
error with $tags undefined
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.
[jira] Closed: (OLIO-46) Tags_Controller::getEventsPageTagCloud
error with $tags undefined
Posted by "Shanti Subramanyam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OLIO-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shanti Subramanyam closed OLIO-46.
----------------------------------
> 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.
[jira] Resolved: (OLIO-46) Tags_Controller::getEventsPageTagCloud
error with $tags undefined
Posted by "Akara Sucharitakul (JIRA)" <ji...@apache.org>.
[ 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.