more issues related to Tony's re-install
This commit is contained in:
parent
3b1e5e5204
commit
e25a387887
@ -29,7 +29,11 @@ function chanview_content(&$a) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif($_REQUEST['url']) {
|
elseif($_REQUEST['url']) {
|
||||||
$r = q("select * from xchan where xchan_url = '%s' limit 1",
|
|
||||||
|
// if somebody re-installed they will have more than one xchan, use the most recent name date as this is
|
||||||
|
// the most useful consistently ascending table item we have.
|
||||||
|
|
||||||
|
$r = q("select * from xchan where xchan_url = '%s' order by xchan_name_date desc limit 1",
|
||||||
dbesc($_REQUEST['url'])
|
dbesc($_REQUEST['url'])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user