Commit 426f3e64 authored by Calcul Bot's avatar Calcul Bot
Browse files

One more typo

parent e6ac31a4
......@@ -34,7 +34,7 @@
// Attachment
if (!empty($_FILES['file']['tmp_name'])) {
$attachment_ext = pathinfo($_FILES['file']['name'], PATHINFO_EXTENSION);
if (is_null(attachment_ext)) {
if (is_null($attachment_ext)) {
$attachment_ext = '';
} else {
$attachment_ext = '.' . $attachment_ext;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment