Commit 38257b1307a106e6d28e9466eb6dbc03e722369f

Authored by kevin_fourie
1 parent e99a0bd3

Merged in from STABLE trunk...

KTS-3649
"Config_setting.sql upgrade bug"
Fixed. Entered string for all the empty type values.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.3a-Release-Branch@9357 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/PDFGeneratorAction.php
... ... @@ -76,7 +76,7 @@ class PDFGeneratorAction extends KTDocumentAction {
76 76 global $default;
77 77 $sHostPath = "http" . ($default->sslEnabled ? "s" : "") . "://".$_SERVER['HTTP_HOST']."/".$GLOBALS['KTRootUrl']."/";
78 78 // create image
79   - $icon = "<img src='".$sHostPath."resources/mimetypes/pdf.png' alt='PDF' border=0/>";
  79 + $icon = "<img src='".$sHostPath."resources/mimetypes/pdf.gif' alt='PDF' border=0/>";
80 80 return _kt('Generate PDF') . "&nbsp;<a href=\"" . KTUtil::ktLink( 'action.php', 'ktstandard.pdf.generate', array( "fDocumentId" => $this->oDocument->getId(), "action" => "pdfdownload") ) . "\" $icon</a>";
81 81 }
82 82 }
... ...