summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index d2f22ef7e3..1eada6df96 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -757,7 +757,7 @@ static char *date_format(char *format, int format_len, timelib_time *t, int loca
retval += 1000;
}
retval = retval % 1000;
- snprintf(buffer, 32, "%03d", retval); break;
+ snprintf(buffer, 32, "%03d", retval);
break;
}
case 'g': snprintf(buffer, 32, "%d", (t->h % 12) ? (int) t->h % 12 : 12); break;