From 06219c36b6aa0a0513f5b8ec02e431bffea9cdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be> Date: Mon, 9 Apr 2018 11:15:18 +0200 Subject: [PATCH] :ambulance: fix(simpleplugin) Fix codestyle in FileAttribute issue #5815 --- include/simpleplugin/attributes/class_FileAttribute.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simpleplugin/attributes/class_FileAttribute.inc b/include/simpleplugin/attributes/class_FileAttribute.inc index 1f08f2921..8fad4071c 100644 --- a/include/simpleplugin/attributes/class_FileAttribute.inc +++ b/include/simpleplugin/attributes/class_FileAttribute.inc @@ -354,7 +354,7 @@ class ImageAttribute extends FileAttribute $id = $this->getHtmlId(); // Just to be sure the image is not cached srand((double)microtime() * 1000000); - $key = $this->getLdapName().rand(0,10000); + $key = $this->getLdapName().rand(0, 10000); $display = '<img id="'.$id.'_img"'. ($this->disabled ? 'disabled="disabled"' : ''). ' src="getbin.php?key='.$key.'"'. -- GitLab