ソースを参照

Ticket #5314 - Streams: PHP warnings.

AntonLV 10 ヶ月 前
親
コミット
dc446e49e2

+ 2 - 0
modules/boonex/stream/classes/BxStrmConfig.php

@@ -189,6 +189,8 @@ class BxStrmConfig extends BxBaseModTextConfig
                 'txt_sample_score_up_single' => '_bx_stream_txt_sample_score_up_single',
                 'txt_sample_score_down_single' => '_bx_stream_txt_sample_score_down_single',
                 'form_field_author' => '_bx_stream_form_entry_input_author',
+                'form_field_covers_uploader_simple' => '_bx_posts_form_entry_input_covers_uploader_simple_title',
+                'form_field_covers_uploader_html5' => '_bx_posts_form_entry_input_covers_uploader_html5_title',
             	'grid_action_err_delete' => '_bx_stream_grid_action_err_delete',
             	'grid_txt_account_manager' => '_bx_stream_grid_txt_account_manager',
                 'filter_item_active' => '_bx_stream_grid_filter_item_title_adm_active',

+ 1 - 3
modules/boonex/stream/install/sql/install.sql

@@ -4,7 +4,6 @@ CREATE TABLE IF NOT EXISTS `bx_stream_streams` (
   `author` int(11) NOT NULL,
   `added` int(11) NOT NULL,
   `changed` int(11) NOT NULL,
-  `published` int(11) NOT NULL,
   `thumb` int(11) NOT NULL,
   `title` varchar(255) NOT NULL,
   `cat` int(11) NOT NULL,
@@ -348,8 +347,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
 
 ('bx_stream_entry_view', 'cat', 2147483647, 1, 1),
 ('bx_stream_entry_view', 'added', 2147483647, 1, 2),
-('bx_stream_entry_view', 'changed', 2147483647, 1, 3),
-('bx_stream_entry_view', 'published', 192, 1, 4);
+('bx_stream_entry_view', 'changed', 2147483647, 1, 3);
 
 -- PRE-VALUES
 INSERT INTO `sys_form_pre_lists`(`key`, `title`, `module`, `use_for_sets`) VALUES