aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-02 17:12:42 -0700
committerMario Vavti <mario@mariovavti.com>2017-04-03 10:49:20 +0200
commit75cd816e02464d3486495bf802cf6f2e16f78041 (patch)
tree0e98dd94f780a15a0302dc4ebdead7b1b4bd5f3d
parentc8a886e3990b705b011e7c2c2306d3179eb824a4 (diff)
downloadvolse-hubzilla-75cd816e02464d3486495bf802cf6f2e16f78041.tar.gz
volse-hubzilla-75cd816e02464d3486495bf802cf6f2e16f78041.tar.bz2
volse-hubzilla-75cd816e02464d3486495bf802cf6f2e16f78041.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 a0f366a4a..42661e2b1 100755
--- a/include/items.php
+++ b/include/items.php
@@ -781,9 +781,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);
}
/**