Skip to content

Commit

Permalink
Update Templates.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sazanof authored Mar 1, 2018
1 parent 0642550 commit bac23a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/modules/letters/classes/Templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function InsOrUpdTemplate($data,$id){
}
$keys = implode(',',array_keys($res));
$values = implode(',',array_values($res));
$duplicate = '';
$duplicate = array();
foreach ($res as $key => $value){
if (!intval($value)){
$duplicate[] = $key."=".$value;
Expand All @@ -80,4 +80,4 @@ public function InsOrUpdTemplate($data,$id){
}
}

}
}

0 comments on commit bac23a2

Please sign in to comment.