aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-02 21:01:42 +0000
committerMario <mario@mariovavti.com>2021-01-02 21:01:42 +0000
commit3e3b6cc1e16a797359365cd89d96492393d5ca78 (patch)
tree26f749c1db6429890b79f7474d9994657e45642b /include
parent474103dc8234b034722c924b5ba0b55f52993930 (diff)
downloadvolse-hubzilla-3e3b6cc1e16a797359365cd89d96492393d5ca78.tar.gz
volse-hubzilla-3e3b6cc1e16a797359365cd89d96492393d5ca78.tar.bz2
volse-hubzilla-3e3b6cc1e16a797359365cd89d96492393d5ca78.zip
wrong variable
Diffstat (limited to 'include')
-rw-r--r--include/cdav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cdav.php b/include/cdav.php
index ef248a9fe..fcce0ec4a 100644
--- a/include/cdav.php
+++ b/include/cdav.php
@@ -111,7 +111,7 @@ function process_cdav_card($f, &$vcard, $edit = false) {
function import_cdav_card($id, $ext, $table, $column, $objects, $profile, $backend, &$ids, $notice = false) {
$i = 0;
- $newid = (count($ids) ? false : true);
+ $newid = (count($ids) ? false : true);
while ($object = $objects->getNext()) {
@@ -161,7 +161,7 @@ function import_cdav_card($id, $ext, $table, $column, $objects, $profile, $backe
);
}
- if($notice && $exp == 'vcf') {
+ if($notice && $ext == 'vcf') {
notice(
'<strong>' . t('INVALID CARD DISMISSED!') . '</strong>' . EOL .
'<strong>' . t('Name: ') . '</strong>' . (($object->FN) ? $object->FN : t('Unknown')) . EOL .