mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-14 03:50:33 -04:00
Fix issue with PHP7.2 (#2190)
This commit is contained in:
@@ -127,7 +127,7 @@ class Attribute extends CI_Model
|
||||
|
||||
public function get_values_by_definitions($definition_ids)
|
||||
{
|
||||
if (count($definition_ids) > 0)
|
||||
if(count($definition_ids ? : []))
|
||||
{
|
||||
$this->db->from('attribute_definitions');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user