Typo in config.class.php

Bug #1240817 reported by Eduardo Ribeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Undecided
Dan Garner

Bug Description

File config.class.php
Line 572

Instead of

if ($this->return_bytes(ini_get('post_max_size') < $minSize))
{
    return false;
}

if ($this->return_bytes(ini_get('upload_max_filesize') < $minSize))
{
    return false;
}

should be

if ($this->return_bytes(ini_get('post_max_size')) < $minSize)
{
    return false;
}

if ($this->return_bytes(ini_get('upload_max_filesize')) < $minSize)
{
    return false;
}

Related branches

Dan Garner (dangarner)
Changed in xibo:
milestone: none → 1.5.2
assignee: nobody → Dan Garner (dangarner)
status: New → Fix Committed
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.