Changeset 2240

Show
Ignore:
Timestamp:
04/30/08 05:34:57 (2 weeks ago)
Author:
mlutfy
Message:

Remplate intval() par floatval() sinon les quotas (ex: bande passante) sont limites a 2147483647 (1.99 gigs), quoique, voir aussi le bug #1129

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/class/m_quota.php

    r1945 r2240  
    162162    global $err,$db,$cuid; 
    163163    $err->log("quota","setquota",$ressource."/".$size); 
    164     if (intval($size)==0) $size="0"; 
     164    if (floatval($size)==0) $size="0"; 
    165165    if ($this->disk[$ressource]) { 
    166166      // It's a disk resource, update it with shell command