require_once('include/Scrape.php');
require_once('include/socgraph.php');
-function gprobe_run($argv, $argc){
+function gprobe_run(&$argv, &$argc){
global $a, $db;
if(is_null($a)) {
$url = hex2bin($argv[1]);
- if(! validate_url($url))
- return;
-
$r = q("select * from gcontact where nurl = '%s' limit 1",
dbesc(normalise_link($url))
);