diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-06 09:55:17 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-06 09:55:17 -0700 |
commit | 038cd8ac2545dfbca5ae747a0ffaf370b2861cf2 (patch) | |
tree | c358f67bb6adecf62e1b9caea9b1fa06c62d5c09 /actions | |
parent | d15fdac3d348eda7314a206c2403494e9a096c98 (diff) | |
parent | 6658e2a2ee9517bebd59cf69d7483e6eda691b4e (diff) |
Merge branch '0.7.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.7.x
Diffstat (limited to 'actions')
-rw-r--r-- | actions/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/api.php b/actions/api.php index b25ba99f3..b8da852b5 100644 --- a/actions/api.php +++ b/actions/api.php @@ -144,8 +144,8 @@ class ApiAction extends Action } if (in_array($fullname, $bareauth)) { - # bareauth: only needs auth if without an argument - if ($this->api_arg) { + # bareauth: only needs auth if without an argument or query param specifying user + if ($this->api_arg || $this->arg('id') || is_numeric($this->arg('user_id')) || $this->arg('screen_name')) { return false; } else { return true; |