summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-10 10:03:57 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-07-10 10:03:57 -0700
commitbafa1ab1c532118e2230df50ed18a1b4573692b7 (patch)
treea11a35affda3f2a1d74cfe450a5ceaa230af2ca5
parent15f6309deacf64e6b408d45a4eb19852d36f9f72 (diff)
parent91684830e55dd0e6a9e069ff140e17a929dd2364 (diff)
Merge branch '0.7.x' into 0.8.x
Conflicts: README actions/twitapiusers.php
-rw-r--r--README3
-rw-r--r--actions/twitapiusers.php7
2 files changed, 10 insertions, 0 deletions
diff --git a/README b/README
index 8622d3797..40e526355 100644
--- a/README
+++ b/README
@@ -953,12 +953,15 @@ sslserver: use an alternate server name for SSL URLs, like
shorturllength: Length of URL at which URLs in a message exceeding 140
characters will be sent to the user's chosen
shortening service.
+<<<<<<< HEAD:README
design: a default design (colors and background) for the site.
Sub-items are: backgroundcolor, contentcolor, sidebarcolor,
textcolor, linkcolor, backgroundimage, disposition.
dupelimit: minimum time allowed for one person to say the same thing
twice. Default 60s. Anything lower is considered a user
or UI error.
+=======
+>>>>>>> 0.7.x:README
db
--
diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php
index de8326e3a..fea41b397 100644
--- a/actions/twitapiusers.php
+++ b/actions/twitapiusers.php
@@ -51,6 +51,13 @@ class TwitapiusersAction extends TwitterapiAction
return;
}
+ $profile = $user->getProfile();
+
+ if (!$profile) {
+ common_server_error(_('User has no profile.'));
+ return;
+ }
+
$twitter_user = $this->twitter_user_array($user->getProfile(), true);
if ($apidata['content-type'] == 'xml') {