Opps :(
[mailer.git] / 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 {