]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
inverted if() in RealtimePlugin check for tag
authorEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 16:52:00 +0000 (12:52 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 16:52:00 +0000 (12:52 -0400)
plugins/Realtime/RealtimePlugin.php

index 3d6302c4e46f8bd25191ceac7a0a9baac2b93b08..a4bcb8d803272df3eb4585b8e794f1544e5bfe41 100644 (file)
@@ -475,7 +475,7 @@ class RealtimePlugin extends Plugin
             break;
          case 'tag':
             $tag = $action->trimmed('tag');
-            if (empty($tag)) {
+            if (!empty($tag)) {
                 $arg1 = $tag;
             } else {
                 $this->log(LOG_NOTICE, "Unexpected 'tag' action without tag argument");