From b3bf9c88dcb3ccd56ceece8f1dc23312cdbd1861 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 19 May 2015 03:26:55 -0400 Subject: [PATCH] Fix attached file path unsetting in database_attachments plugin (#1490393) --- plugins/database_attachments/database_attachments.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/database_attachments/database_attachments.php b/plugins/database_attachments/database_attachments.php index 76792fd..735915a 100644 --- a/plugins/database_attachments/database_attachments.php +++ b/plugins/database_attachments/database_attachments.php @@ -43,9 +43,9 @@ $status = $cache->write($key, $data); if ($status) { - $args['id'] = $key; + $args['id'] = $key; $args['status'] = true; - unset($args['path']); + $args['path'] = null; } return $args; -- Gitblit v1.9.1