Ignore:
Timestamp:
Feb 20, 2014 3:03:59 AM (10 years ago)
Author:
anonymous
Message:

Completed integrating /branches/eli_branch into /trunk. Changes include:

  • Removed closing ?> from end of files
  • Upgrade old-style contructor methods to use construct() instead.
  • Class properties and methods defined as public, private, static or protected
  • Ensure code runs under E_ALL with only mysql_* deprecated warnings
  • Search for the '@' symbol anywhere it might be used to supress runtime errors, then replace with proper error recovery.
  • Run the php cli -l option to check files for syntax errors.
  • Bring tests up-to-date with latest version and methods of PHPUnit
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/services/login.php

    r462 r468  
    3636$login_prefs->setDefaults(array('username' => ''));
    3737
    38 if ('' != $login_prefs->get('username')) {
    39     $frm['remember_me'] = '1';
    40 }
    41 
    4238$frm['username'] = getFormdata('username', $login_prefs->get('username'));
    4339$frm['password'] = getFormdata('password');
     40$frm['remember_me'] = ('' != $login_prefs->get('username')) ? '1' : '';
    4441
    4542if (getFormdata('username', false)) {
     
    6966include 'footer.ihtml';
    7067
    71 ?>
Note: See TracChangeset for help on using the changeset viewer.