]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapilaconica.php
add some breaks so that switch statement works
[quix0rs-gnu-social.git] / actions / twitapilaconica.php
index 4ecbf94e17c0c81389615f86c1a95f8d5ef5e351..6d3490abdb7026de0a8e59501ea8b48ddadf5b02 100644 (file)
@@ -72,10 +72,12 @@ class TwitapilaconicaAction extends TwitterapiAction
             $this->init_document('xml');
             common_element('version', null, LACONICA_VERSION);
             $this->end_document('xml');
+            break;
          case 'json':
             $this->init_document('json');
             print '"'.LACONICA_VERSION.'"';
             $this->end_document('json');
+            break;
          default:
             $this->client_error(_('API method not found!'), $code=404);
         }