Fix wrong way to get publish status
This commit is contained in:
parent
f09c46d166
commit
aadb56dfcc
|
@ -1568,8 +1568,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
|||
|
||||
$row = $result->fetch();
|
||||
$result->closeCursor();
|
||||
|
||||
return $row[0] > 0;
|
||||
return reset($row) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue