mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-14 03:50:33 -04:00
Fix PHP 5.6 incompatibility (#1580)
This commit is contained in:
@@ -433,18 +433,18 @@ class Item extends CI_Model
|
||||
return $success;
|
||||
}
|
||||
|
||||
function get_search_suggestion_format(string $seed = NULL)
|
||||
function get_search_suggestion_format($seed = NULL)
|
||||
{
|
||||
$seed .= ','.$this->config->item('suggestions_first_column');
|
||||
$seed .= ',' . $this->config->item('suggestions_first_column');
|
||||
|
||||
if($this->config->item('suggestions_second_column') !== '')
|
||||
{
|
||||
$seed .= ','.$this->config->item('suggestions_second_column');
|
||||
$seed .= ',' . $this->config->item('suggestions_second_column');
|
||||
}
|
||||
|
||||
if($this->config->item('suggestions_third_column') !== '')
|
||||
{
|
||||
$seed .= ','.$this->config->item('suggestions_third_column');
|
||||
$seed .= ',' . $this->config->item('suggestions_third_column');
|
||||
}
|
||||
|
||||
return $seed;
|
||||
|
||||
Reference in New Issue
Block a user