diff options
author | Peter Wu | 2014-08-02 16:57:17 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-11-14 00:10:00 +0100 |
commit | e83f1fa35afd6b1d140383b2f52f06828d4caecc (patch) | |
tree | 153e3df3a379c3e0f957ba313a6716fce1fc05c3 | |
parent | jsrrdgraph: Fix undefined variables (diff) | |
download | apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.zip apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.tar.gz apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.tar.bz2 apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.tar.xz |
jsrrdgraph: Fix invalid function call
During conversion from PHP, this function was apparently missed.
Diffstat (limited to '')
-rw-r--r-- | js/RrdGfxPdf.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/RrdGfxPdf.js b/js/RrdGfxPdf.js index 230d441..cbc552f 100644 --- a/js/RrdGfxPdf.js +++ b/js/RrdGfxPdf.js | |||
@@ -776,7 +776,7 @@ RrdGfxPdf.prototype._beginpage = function(orientation, size) | |||
776 | this.FontFamily = ''; | 776 | this.FontFamily = ''; |
777 | // Check page size and orientation | 777 | // Check page size and orientation |
778 | if(orientation=='') orientation = this.DefOrientation; | 778 | if(orientation=='') orientation = this.DefOrientation; |
779 | else orientation = strtoupper(orientation[0]); | 779 | else orientation = orientation[0].toUpperCase(); |
780 | 780 | ||
781 | if(size=='') size = this.DefPageSize; | 781 | if(size=='') size = this.DefPageSize; |
782 | else size = this._getpagesize(size); | 782 | else size = this._getpagesize(size); |