From bf49236033d20ceb0ea258a62ccc6e8026cd32a8 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sat, 9 Mar 2013 23:45:11 +0100 Subject: [PATCH] fixed a spurious 'notice' when used as library --- bibtexbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 bibtexbrowser.php diff --git a/bibtexbrowser.php b/bibtexbrowser.php old mode 100644 new mode 100755 index 991e590..e043ccb --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -1379,7 +1379,7 @@ class BibEntry { // referrer, the id pf a collection of objects // 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());