Mysql Engine - Column 'include_news' cannot be null (Bugs)
In Mysql Engine
On add page make this Error:
Message: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'include_news' cannot be null
Code: 23000
File: /www/cms/includes/edit.inc.php
Line: 461
Temporary patсh:
in cms/includes/edit.inc.php
after line 222:
if(empty($_POST['edit_permission_general'])) $_POST['edit_permission_general'] = 0;
add:
// patсh for include_news column error
if(empty($_POST['include_news'])) $_POST['include_news'] = 0;
// end patch
Complete thread:
- Mysql Engine - Column 'include_news' cannot be null - lma, 2010-06-23, 09:44
(Bugs)