Changeset 611


Ignore:
Timestamp:
Dec 16, 2013, 10:45:45 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Při kontrole formulářů přijmi také nulu.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r610 r611  
    11<?php
    22
    3 $Revision = 610; // Subversion revision
     3$Revision = 611; // Subversion revision
    44$DatabaseRevision = 601; // SQL structure revision
    55$ReleaseTime = '2013-12-16';
  • trunk/Common/Form/Types/Integer.php

    r607 r611  
    2727  {
    2828        if($Item['Null'] and ($Item['Value'] == '')) return(true);
    29         return(filter_var($Item['Value'], FILTER_VALIDATE_INT));
     29        return(preg_match('/^\-*[0-9\.]+$/', $Item['Value']));
    3030  }
    3131 
Note: See TracChangeset for help on using the changeset viewer.