diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-01 16:36:33 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-01 16:43:36 -0800 |
commit | 493b5479c15f0e135054fd6b961e50e690077eda (patch) | |
tree | df7d5077418b4d29e041e8e721edcea604f98e75 /plugins/OStatus/classes | |
parent | 0512151eabf64e88b4648869b3d029800d30668a (diff) |
OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)
Plus misc warnings/notices cleanup in the submission path.
Diffstat (limited to 'plugins/OStatus/classes')
-rw-r--r-- | plugins/OStatus/classes/Ostatus_profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index 7b1aec76b..668a31df4 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -698,7 +698,7 @@ class Ostatus_profile extends Memcached_DataObject { // Get the canonical feed URI and check it $discover = new FeedDiscovery(); - if ($hints['feedurl']) { + if (isset($hints['feedurl'])) { $feeduri = $hints['feedurl']; $feeduri = $discover->discoverFromFeedURL($feeduri); } else { |