From 5c0d2c01826cb3802aed682513b7f98454394867 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 30 Jul 2013 20:56:50 +0000 Subject: [PATCH] Opps :( --- inc/wrapper-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 89b6ed3c76..135f3d3dc4 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -3502,7 +3502,7 @@ function shift_array (&$array, $value, $key = '0') { // Wrapper for str_pad() with left padding zeros function padLeftZero ($str, $amount = 2) { // Is str_pad() there? - if (function_exists('str_pad')) { + if (!function_exists('str_pad')) { // Use prependZeros() return prependZeros($str, $amount); } else { -- 2.39.5