]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
QnA - Fix typo
authorZach Copley <zach@status.net>
Wed, 6 Apr 2011 18:15:32 +0000 (11:15 -0700)
committerZach Copley <zach@status.net>
Wed, 6 Apr 2011 18:15:32 +0000 (11:15 -0700)
plugins/QnA/QnAPlugin.php

index 375e87f615d2ad1eabff4f060c9ebd7fae0cc412..f03f3e3395c36c780adae4c5e928c2460c5d1d5f 100644 (file)
@@ -205,7 +205,7 @@ class QnAPlugin extends MicroAppPlugin
 
         $questionObj = $activity->objects[0];
 
-        if ($questinoObj->type != QnA_Question::OBJECT_TYPE) {
+        if ($questionObj->type != QnA_Question::OBJECT_TYPE) {
             throw new Exception('Wrong type for object.');
         }