mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +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:
@@ -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',
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user