From 481c6d2316f3a31c85235cb64fbd198a08a92211 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 30 Dec 2008 16:01:14 -0500 Subject: add some breaks so that switch statement works darcs-hash:20081230210114-84dde-4fbf5b718841ae1c46129a6b58d6b4e239d8be09.gz --- actions/twitapilaconica.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actions') diff --git a/actions/twitapilaconica.php b/actions/twitapilaconica.php index 4ecbf94e1..6d3490abd 100644 --- a/actions/twitapilaconica.php +++ b/actions/twitapilaconica.php @@ -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); } -- cgit v1.2.3-54-g00ecf