Skip to content

Commit

Permalink
set an empty default value for params in k2item table, fix #61
Browse files Browse the repository at this point in the history
  • Loading branch information
eworkers committed Mar 22, 2024
1 parent 4e3a6a8 commit 4a30e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_k2/tables/k2item.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class TableK2Item extends K2Table
{
/* since J4 compatibility */
/* dirty fix fix non NULL field with no default value since MySQL drivers in 4.0 use STRICT_TRANS_TABLES */
/* dirty fix non NULL field with no default value since MySQL drivers in 4.0 use STRICT_TRANS_TABLES */
/* todo */
/* init $image_caption, $image_credits, $video_caption, $video_credits,
$extra_fields, $extra_fields_search, $plugins at relevant model
Expand Down Expand Up @@ -62,7 +62,7 @@ class TableK2Item extends K2Table
public $metadata = null;
public $metadesc = null;
public $metakey = null;
public $params = null;
public $params = '';
public $plugins = '';
public $language = null;

Expand Down

0 comments on commit 4a30e55

Please sign in to comment.