Posted by inders on May 24, 2009 at 5:51am
| Project: | Question |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | tanoshimi |
| Status: | closed (fixed) |
Issue Summary
Just tested this dev version of module and got:-
Warning: Call-time pass-by-reference has been deprecated in E:\mysite\indiapoly\sites\all\modules\question\question.install on line 38
Warning: Call-time pass-by-reference has been deprecated in E:\mysite\indiapoly\sites\all\modules\question\question.install on line 39
Warning: Call-time pass-by-reference has been deprecated in E:\mysite\indiapoly\sites\all\modules\question\question.install on line 45
Found:-Line 45 question.install
db_drop_primary_key(&$ret, 'question_queue');Should be:-
db_drop_primary_key($ret, 'question_queue');And found:-Line 38,39 question.install
db_add_primary_key(&$ret, 'question_node', array('nid'));
db_add_primary_key(&$ret, 'question_queue', array('qid'));Should be:-
db_add_primary_key($ret, 'question_node', array('nid'));
db_add_primary_key($ret, 'question_queue', array('qid'));
Comments
#1
Attached in patch format.
#2
Committed to 6.x-1.x-dev branch.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.