Changeset 15028

Show
Ignore:
Timestamp:
02/16/08 14:40:58 (8 months ago)
Author:
rambo
Message:

coding standards, empty() is cleaner way to check

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/MidCOM_2_8/midcom.core/midcom.php

    r14689 r15028  
    2929 */ 
    3030if (!preg_match('%\?|/$|midcom-.+-|/.+\..+$%', $_SERVER['REQUEST_URI']) 
    31     && (!isset($_POST) || sizeof($_POST) < 1)) 
     31    && (   !isset($_POST) 
     32        || empty($_POST)) 
     33    ) 
    3234{ 
    3335    header('HTTP/1.0 301 Moved Permanently');