mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-14 02:33:56 -04:00
Update Attribute.php
changed DATETIME to DATE since constant name was changed but it wasn't changed here.
This commit is contained in:
@@ -305,7 +305,7 @@ class Attribute extends CI_Model
|
||||
{
|
||||
if($to_type === DATE || $to_type === DECIMAL)
|
||||
{
|
||||
$field = ($to_type === DATETIME ? 'attribute_date' : 'attribute_decimal');
|
||||
$field = ($to_type === DATE ? 'attribute_date' : 'attribute_decimal');
|
||||
|
||||
if($this->check_data_validity($definition_id, $from_type, $to_type))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user