From 3980692c8c9c1e204b01fa8a05bcb5a954702ef3 Mon Sep 17 00:00:00 2001 From: quix0r 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