]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Fix a warning generated in return_bytes function and refactor it
authorArthurHoaro <arthur@hoa.ro>
Fri, 10 Mar 2017 19:06:01 +0000 (20:06 +0100)
committerArthurHoaro <arthur@hoa.ro>
Mon, 3 Apr 2017 16:53:43 +0000 (18:53 +0200)
commit84315a3bad02652e5ea26586fab003eaaf467e30
tree6093f77c2af6c57524b7b0a7795089167438f5e5
parentd9d49b687afcb4c88a88390a7ff30b431ca6be12
Fix a warning generated in return_bytes function and refactor it

It was multiplying a string containing a letter.

Moved function to Utils.php and display a human readable limit size
application/Utils.php
index.php
tests/UtilsTest.php
tpl/vintage/import.html