[3.0.5] Driver error posting new topic
Submitted Jason H, Dec 14 2009 10:10 PM | Last updated Jun 01 2010 10:25 AM
If you post a new topic and do NOT specify a post icon, you may receive a driver error.
This only affects people running MySQL5 in strict mode.
The fix is to edit /admin/applications/forums/sources/classes/post/classPost.php
find
and replace it with
The attached file is the patched file.
classPost.php 108.88K
336 downloads
This only affects people running MySQL5 in strict mode.
The fix is to edit /admin/applications/forums/sources/classes/post/classPost.php
find
'icon_id' => $this->request['iconid'] ? $this->request['iconid'] : $this->_originalPost['icon_id'],
and replace it with
'icon_id' => isset($this->request['iconid']) ? intval($this->request['iconid']) : intval($this->_originalPost['icon_id']),
The attached file is the patched file.
classPost.php 108.88K
336 downloads











0 Comments