Opps :(
authorRoland Häder <roland@mxchange.org>
Tue, 30 Jul 2013 20:56:50 +0000 (20:56 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 30 Jul 2013 20:56:50 +0000 (20:56 +0000)
inc/wrapper-functions.php

index 89b6ed3..135f3d3 100644 (file)
@@ -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 {