Changeset 188


Ignore:
Timestamp:
Jun 28, 2006 11:09:20 AM (18 years ago)
Author:
scdev
Message:

Q - minor updates.

Location:
trunk/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Cache.inc.php

    r174 r188  
    216216
    217217    /**
    218      * Tells you if the object is cached.
     218     * Removes a cached object.
    219219     *
    220220     * @param string $key  The key of the object to check.
  • trunk/lib/TemplateGlue.inc.php

    r136 r188  
    451451    if (is_array($submit_buttons) && !empty($submit_buttons)) {
    452452        foreach ($submit_buttons as $button_name => $button_text) {
    453             ?><input type="submit" name="<?php echo $button_name ?>" value="<?php echo oTxt($button_text); ?>" /><?php
     453            ?><input type="submit" name="<?php echo oTxt($button_name) ?>" value="<?php echo oTxt($button_text); ?>" /><?php
    454454        }
    455455    }
  • trunk/lib/Validator.inc.php

    r169 r188  
    295295    function fileUploaded($form_name)
    296296    {
    297         if (!isset($_FILES[$form_name]['tmp_name'])) {
     297        if (!isset($_FILES[$form_name]['tmp_name']) || empty($_FILES[$form_name]['tmp_name'])) {
    298298            return false;
    299299        }
Note: See TracChangeset for help on using the changeset viewer.