From 0d1825b1f45443ce01e55e41487d34d4eac3eef7 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 13 Jun 2012 16:38:04 +0200 Subject: [PATCH] Adding missing href in a str_replace --- main/inc/lib/pdf.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/pdf.lib.php b/main/inc/lib/pdf.lib.php index 4d69a1613f..77bb829572 100644 --- a/main/inc/lib/pdf.lib.php +++ b/main/inc/lib/pdf.lib.php @@ -220,7 +220,7 @@ class PDF { //absolute path for frames.css //TODO: necessary? $absolute_css_path = api_get_path(WEB_CODE_PATH).'css/'.api_get_setting('stylesheets').'/frames.css'; - $document_html = str_replace('href="./css/frames.css"',$absolute_css_path, $document_html); + $document_html = str_replace('href="./css/frames.css"','href="'.$absolute_css_path.'"', $document_html); //$document_html=str_replace('','', $document_html);