fixed a spurious 'notice' when used as library

This commit is contained in:
Martin Monperrus
2013-03-09 23:45:11 +01:00
parent 8d28126de4
commit bf49236033
Regular → Executable
+1 -1
View File
@@ -1379,7 +1379,7 @@ class BibEntry {
// referrer, the id pf a collection of objects // referrer, the id pf a collection of objects
// see also http://www.openurl.info/registry/docs/pdf/info-sid.pdf // see also http://www.openurl.info/registry/docs/pdf/info-sid.pdf
$url_parts[]='rfr_id='.s3988('info:sid/'.$_SERVER['HTTP_HOST'].':'.@$_GET[Q_FILE]); $url_parts[]='rfr_id='.s3988('info:sid/'.@$_SERVER['HTTP_HOST'].':'.@$_GET[Q_FILE]);
$url_parts[]='rft.date='.s3988($this->getYear()); $url_parts[]='rft.date='.s3988($this->getYear());