Changeset 140


Ignore:
Timestamp:
Jun 3, 2006 10:29:19 PM (18 years ago)
Author:
scdev
Message:

Q - fixed bug in 1.1dev

Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/FormValidator.inc.php

    r1 r140  
    528528    function validateFile($form_name, $msg='')
    529529    {
    530         if ('' == trim($_FILES[$form_name]['tmp_name'])) {
     530        if (!isset($_FILES[$form_name]['tmp_name']) || '' == trim($_FILES[$form_name]['tmp_name'])) {
    531531            $this->addError($form_name, $msg);
    532532            return false;
  • branches/1.1dev/lib/Utilities.inc.php

    r82 r140  
    240240 * @return  string   Encoded email.
    241241 */
    242 function encodeEmail($email, $at='-at-', $dot='-dot-')
     242function encodeEmail($email, $at=' at ', $dot=' dot ')
    243243{
    244244    $search = array('/@/', '/\./');
Note: See TracChangeset for help on using the changeset viewer.