exit(1);
}
-require_once INSTALLDIR.'/lib/apiprivateauth.php';
-
/**
* Action for outputting search results in Twitter compatible Atom
* format.
$source = null;
$ns = $notice->getSource();
- if ($ns) {
+ if ($ns instanceof Notice_source) {
if (!empty($ns->name) && !empty($ns->url)) {
$source = '<a href="'
. htmlspecialchars($ns->url)