mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 15:13:40 -04:00
Fixed get_definition_by_name so that it does not get deleted
definitions.
This commit is contained in:
@@ -597,6 +597,7 @@ class Attribute extends Model
|
||||
{
|
||||
$builder = $this->db->table('attribute_definitions');
|
||||
$builder->where('definition_name', $definition_name);
|
||||
$builder->where('deleted', 0);
|
||||
|
||||
if($definition_type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user