Project:Case Tracker
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:zero2one
Status:closed (fixed)

Issue Summary

* Install CaseTracker Mail module
* Create a new node of any type
* Delete this node
RESULT: Crash saying "Fatal error: Cannot use object of type stdClass as array in /var/www/tawasol/modules/casetracker/casetracker_mail.module on line 115"

On casetracker_mail.module, changing line 115 from

db_query('DELETE FROM {casetracker_mail} WHERE cid = %d', $comment['cid']);

to
db_query('DELETE FROM {casetracker_mail} WHERE cid = %d', $comment->cid);

seems to solve the problem.

Comments

#1

Assigned to:Anonymous» zero2one
Status:active» fixed

Is fixed in http://drupal.org/cvs?commit=85845

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.