Login or Register

RSS IconRecent posts in this topic

avatar
jakekrohn on Aug 22. 2007. 3:43 pm
I noticed a problem when attempting to attach a file to an existing message or comment from a client account. Specifically, this error is thrown with debug turned on:

Fatal error: Using $this when not in object context in /ux0/activecollab/test/application/models/project_files/ProjectFiles.class.php on line 148


Changing the line from this:

$conditions = array('`project_id` =? AND `folder_id` = ? AND `is_private` = ?', $project->getId(), $this->getId(), false);


to this:

$conditions = array('`project_id` =? AND `folder_id` = ? AND `is_private` = ?', $project->getId(), $folder->getId(), false);


does the trick.
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic