Skip to content

Commit

Permalink
Update Letters.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sazanof authored Mar 1, 2018
1 parent 295f586 commit 0642550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/modules/letters/classes/Letters.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function InsOrUpdLetter($tbl,$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 Down Expand Up @@ -137,4 +137,4 @@ public function fromHtml($str){
$res = htmlspecialchars($str);
return $res;
}
}
}

0 comments on commit 0642550

Please sign in to comment.