Changeset 849 for trunk/upload.php


Ignore:
Timestamp:
Aug 25, 2005, 12:22:29 AM (19 years ago)
Author:
plg
Message:
  • deletion : no mail notification anymore. Feature replaced by RSS feed notification.
  • improvement : on waiting pictures management. Ability to validate all or reject all in one clic.
  • regrouped fields in admin/update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upload.php

    r688 r849  
    213213    pwg_query( $query );
    214214    $page['waiting_id'] = mysql_insert_id();
    215     // mail notification for administrators
    216     if ( $conf['mail_notification'] )
    217     {
    218       notify( 'upload' );
    219     }
    220215  }
    221216}
     
    277272
    278273$username = !empty($_POST['username'])?$_POST['username']:$user['username'];
    279 $mail_address = !empty($_POST['mail_address'])?$_POST['mail_address']:$user['mail_address'];
     274$mail_address = !empty($_POST['mail_address'])?$_POST['mail_address']:@$user['mail_address'];
    280275$name = !empty($_POST['name'])?$_POST['name']:'';
    281276$author = !empty($_POST['author'])?$_POST['author']:'';
Note: See TracChangeset for help on using the changeset viewer.