File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3060,7 +3060,7 @@ public function eaelec_display_table($data, $settings){
3060
3060
$ item_per_page = $ is_paginated && !empty ( $ settings ['eael_ec_item_per_page ' ] ) ? intval ( $ settings ['eael_ec_item_per_page ' ] ) : 1 ;
3061
3061
3062
3062
?>
3063
- <table class="eael-event-calendar-table <?php echo $ is_paginated ? 'ea-ec-table-paginated ' : '' ?> ea-ec-table-sortable" data-items-per-page="<?php echo esc_attr ( $ item_per_page ); ?> ">
3063
+ <table class="eael-event-calendar-table <?php echo $ is_paginated ? 'ea-ec-table-paginated ' : '' ; ?> ea-ec-table-sortable" data-items-per-page="<?php echo esc_attr ( $ item_per_page ); ?> ">
3064
3064
<thead>
3065
3065
<tr style="display: table-row;">
3066
3066
<?php
@@ -3128,7 +3128,7 @@ public function eaelec_display_table($data, $settings){
3128
3128
$ row_style .= "color: {$ event ['textColor ' ]}; " ;
3129
3129
}
3130
3130
3131
- $ row_style = $ row_style !== '' ? "style= {$ row_style }" : '' ;
3131
+ $ row_style = $ row_style !== '' ? "style={ " . esc_attr ( $ row_style ) . " } " : '' ;
3132
3132
3133
3133
$ item_count ++;
3134
3134
echo '<tr ' . $ style . ' > ' ;
You can’t perform that action at this time.
0 commit comments