]> git.mxchange.org Git - mailer.git/commitdiff
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 89b6ed3c7688cc10fbbeb078a49ad81d26d7a6e3..135f3d3dc45e79ed04ef8b9dc863c9536b0b0890 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 {