Fatal Error when installing revision 20507 of News module (trunk)
When installing revision 20507 of the News module a fatal error occurs. It's due to this code:
$onetopic->topic_id() = (int) $onetopic->topic_id();
$onetopic->topic_id() = (int) $onetopic->topic_id();
Leave a comment
UnderDog in Changeset* 20666:
News module : Fixed fatal error when installing revision 20507.
It was due to this code: $onetopic->topic_id() = (int) $onetopic->topic_id();
I commented out the piece of code (it wasn't there in earlier revisions) and now the module installs correctly.
closes* 645
News module : Fixed fatal error when installing revision 20507.
It was due to this code: $onetopic->topic_id() = (int) $onetopic->topic_id();
I commented out the piece of code (it wasn't there in earlier revisions) and now the module installs correctly.
closes* 645
UnderDog in Changeset 20667:
News module : Fixed fatal error when using revision 20507.
It was due to this code: $onetopic->topic_id() = (int) $onetopic->topic_id();
I commented out the piece of code (it wasn't there in earlier revisions) and now the module works correctly.
It was also in article.php and I commented it out there too.
I've casted the topic_id and storyid variables to integers in their respective classes
closes* 645
News module : Fixed fatal error when using revision 20507.
It was due to this code: $onetopic->topic_id() = (int) $onetopic->topic_id();
I commented out the piece of code (it wasn't there in earlier revisions) and now the module works correctly.
It was also in article.php and I commented it out there too.
I've casted the topic_id and storyid variables to integers in their respective classes
closes* 645