Notify : ps
This commit is contained in:
parent
118f985056
commit
c7dd7bd9a8
@ -174,7 +174,7 @@ public function customerGroupQueryExecution($queries){
|
||||
public function getTempName($constant)
|
||||
{
|
||||
$db = \Config\Database::connect();
|
||||
$query = "SELECT * FROM templates WHERE template_name = '".$constant."'";
|
||||
$query = "SELECT * FROM templates WHERE isactive = 1 AND template_name = '".$constant."'";
|
||||
// print_r($query);die;
|
||||
$result = $db->query($query)->getResultArray();
|
||||
if (isset($result)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user