aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-02 17:12:42 -0700
committerzotlabs <mike@macgirvin.com>2017-04-02 17:12:42 -0700
commit1a28fb2a0c8b183fc4463c7f2c08212d068deb69 (patch)
tree59efa713168b58fd5e927590008b5e8c0fab1afd
parentd985db60cca1256698f15a9cb7a39688c72ec082 (diff)
downloadvolse-hubzilla-1a28fb2a0c8b183fc4463c7f2c08212d068deb69.tar.gz
volse-hubzilla-1a28fb2a0c8b183fc4463c7f2c08212d068deb69.tar.bz2
volse-hubzilla-1a28fb2a0c8b183fc4463c7f2c08212d068deb69.zip
logic error
-rwxr-xr-xinclude/items.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 4ef52fb41..ea72d1d4e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -772,9 +772,11 @@ function import_author_xchan($x) {
$y = import_author_rss($x);
}
- $y = import_author_unknown($x);
+ if(! $y) {
+ $y = import_author_unknown($x);
+ }
- return(($y) ? $y : false);
+ return($y);
}
/**