From e83f1fa35afd6b1d140383b2f52f06828d4caecc Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sat, 2 Aug 2014 16:57:17 +0200 Subject: jsrrdgraph: Fix invalid function call During conversion from PHP, this function was apparently missed. --- js/RrdGfxPdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) this.FontFamily = ''; // Check page size and orientation if(orientation=='') orientation = this.DefOrientation; - else orientation = strtoupper(orientation[0]); + else orientation = orientation[0].toUpperCase(); if(size=='') size = this.DefPageSize; else size = this._getpagesize(size); -- cgit v1.1