Using PHP 5.1
Whenever I try to preview a follow-up to an issue I get the error "You have to specify a valid project."
Along with 4 PHP Warnings.
Warning: Attempt to assign property of non-object in /var/www/html/sites/default/modules/project/comment.inc on line 77
Warning: Attempt to assign property of non-object in /var/www/html/sites/default/modules/project/comment.inc on line 78
Warning: Attempt to assign property of non-object in /var/www/html/sites/default/modules/project/comment.inc on line 85
Warning: Attempt to assign property of non-object in /var/www/html/sites/default/modules/project/comment.inc on line 88
Comments
Comment #1
PunkCut25 commentedsorry shouldve clarified. This is regardless of whether or not I have a valid project selected.
Comment #2
dwwyup, i can reproduce on a test site. that's good. ;) without having looked closely at the code, this should be relatively easy to fix. i'll try to roll a patch in the near future, unless someone else beats me to it.
Comment #3
dwwcan someone else please review/test this?
seems to solve the problem on my php5 test site, and still works on my php4 site. but, it's after 2am here, so i'd like independent verification before i commit it. ;)
thanks,
-derek
Comment #4
michaelfavia commentedRoger Dodger. Patch applies cleanly and resolves all warnings for me. Will notify of any further breakage. -mf
Comment #5
Gurpartap Singh commentedPatch fixes all the above problems. Marking RTBC.
Comment #6
dwwcommitted to DRUPAL-4-7 and DRUPAL-4-7--2.
Comment #7
(not verified) commented