plugins/redundant_attachments/redundant_attachments.php
@@ -32,7 +32,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ if (class_exists('filesystem_attachments', false)) { if (class_exists('filesystem_attachments', false) && !defined('TESTS_DIR')) { die("Configuration issue. There can be only one enabled plugin for attachments handling"); } @@ -90,7 +90,7 @@ */ private function _key($args) { $uname = $args['path'] ? $args['path'] : $args['name']; $uname = $args['path'] ?: $args['name']; return $args['group'] . md5(time() . $uname . $_SESSION['user_id']); }