From 9f1f754daf4b57a0d0d3aea95d2321716d218cf5 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 22 Nov 2015 03:41:53 -0500
Subject: [PATCH] CS fixes
---
plugins/redundant_attachments/redundant_attachments.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/redundant_attachments/redundant_attachments.php b/plugins/redundant_attachments/redundant_attachments.php
index 55ec3be..52a7ea3 100644
--- a/plugins/redundant_attachments/redundant_attachments.php
+++ b/plugins/redundant_attachments/redundant_attachments.php
@@ -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']);
}
--
Gitblit v1.9.1