Commit 48c066c2 authored by skummer's avatar skummer

ZP-200 #comment fixed wrong comparison. Potentially fixes this issue #time 30m

git-svn-id: https://z-push.org/svn/z-push/trunk@1468 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 96505dd2
...@@ -384,7 +384,7 @@ class ASDevice extends StateObject { ...@@ -384,7 +384,7 @@ class ASDevice extends StateObject {
$ignored = $this->ignoredMessages; $ignored = $this->ignoredMessages;
$newMessages = array(); $newMessages = array();
foreach ($ignored as $im) { foreach ($ignored as $im) {
if ($im->folderid = $folderid) { if ($im->folderid == $folderid) {
if ($id === false || $im->id === $id) { if ($id === false || $im->id === $id) {
$foundMessage = true; $foundMessage = true;
if (count($this->ignoredMessageIds[$folderid]) == 1) { if (count($this->ignoredMessageIds[$folderid]) == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment