1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-29 19:00:26 +02:00

Fix for lengthy "news_extended" content. Admin-UI: $fields 'type' of false will hide the field, but still save it if posted.

This commit is contained in:
Cameron
2015-10-23 11:48:24 -07:00
parent 13ef309bda
commit c0a62c16c7
2 changed files with 2 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ CREATE TABLE news (
news_title varchar(255) NOT NULL default '',
news_sef varchar(200) NOT NULL default '',
news_body longtext NOT NULL,
news_extended text NOT NULL,
news_extended longtext NOT NULL,
news_meta_keywords varchar(255) NOT NULL default '',
news_meta_description text NOT NULL,
news_datestamp int(10) unsigned NOT NULL default '0',

View File

@@ -4762,7 +4762,7 @@ class e_form
$key = $att['field'];
}
if($key == 'checkboxes' || $key == 'options' || ($att['type'] === null))
if($key == 'checkboxes' || $key == 'options' || ($att['type'] === null) || ($att['type'] === false))
{
continue;
}