Skip to content

Commit

Permalink
fix(Webservice) incorrect variable name. Thanks John Crisp. fixes #156
Browse files Browse the repository at this point in the history
  • Loading branch information
joebordes committed Aug 14, 2017
1 parent 8d83be8 commit b303031
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/Webservices/DataTransform.php
Expand Up @@ -107,10 +107,10 @@ public static function sanitizeForInsert($row,$meta){
}
$row['contact_id'] = implode(';', $ctowsids);
}
} elseif(strtolower($meta->getEntityName()) == "calendar") {
if(empty($row['sendnotification']) || strtolower($row['sendnotificaiton'])=='no'
|| $row['sendnotificaiton'] == '0' || $row['sendnotificaiton'] == 'false'
|| strtolower($row['sendnotificaiton']) == 'n') {
} elseif (strtolower($meta->getEntityName()) == "calendar") {
if (empty($row['sendnotification']) || strtolower($row['sendnotification'])=='no'
|| $row['sendnotification'] == '0' || $row['sendnotification'] == 'false'
|| strtolower($row['sendnotification']) == 'n') {
unset($row['sendnotification']);
}
}
Expand Down

0 comments on commit b303031

Please sign in to comment.