// preference admin controller updated and tools convertbyte too
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11623 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -1916,7 +1916,7 @@ FileETag INode MTime Size
|
||||
else
|
||||
{
|
||||
$value_length = strlen($value);
|
||||
$qty = substr($value, 0, $value_length - 1 );
|
||||
$qty = (int)substr($value, 0, $value_length - 1 );
|
||||
$unit = strtolower(substr($value, $value_length - 1));
|
||||
switch ($unit)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user