Changeset 381

Show
Ignore:
Timestamp:
03/29/05 20:16:00 (3 years ago)
Author:
schst
Message:

MFH: fixed bug #115 (check fails if null is passed)
adjust correct version number

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/PT_3_0/patTemplate.php

    r373 r381  
    6868    var $_systemVars            =   array( 
    6969                                        'appName'       =>  'patTemplate', 
    70                                         'appVersion'    =>  '3.0.0', 
     70                                        'appVersion'    =>  '3.0.2', 
    7171                                        'author'        =>  array( 
    7272                                                                    'Stephan Schmidt <schst@php.net>' 
     
    923923    function readTemplatesFromInput( $input, $reader = 'File', $options = null, $parseInto = null ) 
    924924    { 
    925         if ($input === '') { 
     925        if ((string)$input === '') { 
    926926            return patErrorManager::raiseError(PATTEMPLATE_ERROR_NO_INPUT, 'No input to read has been passed.'); 
    927927        }