aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/socgraph.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index bd952ef9b..d3477a2fe 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -118,7 +118,15 @@ function poco_load($xchan = '',$url = null) {
if($j)
import_xchan($j);
}
+ $x = q("select xchan_hash from xchan where xchan_hash = '%s' limit 1",
+ dbesc($hash)
+ );
+ if(! $x)
+ continue;
+
}
+ else
+ continue;
}
$r = q("select * from xlink where xlink_xchan = '%s' and xlink_link = '%s' limit 1",