Ignore:
Timestamp:
12/19/12 16:44:18 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Best Practice: Short Open Tag e Best Practice: Always Quote Array Keys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.uiaccountsel.inc.php

    r2 r7681  
    343343 
    344344                                $GLOBALS['phpgw']->template->set_var('onclick',"addOption('$element_id','". 
    345                                         $GLOBALS['phpgw']->common->grab_owner_name($group['account_id'])."','$group[account_id]')". 
     345                                        $GLOBALS['phpgw']->common->grab_owner_name($group['account_id'])."','{$group['account_id']}')". 
    346346                                        ($single ? '; window.close()' : '')); 
    347347 
     
    409409                                        'lastname'      => $user['account_lastname'] ? $user['account_lastname'] : ' ', 
    410410                                        'onclick'       => "addOption('$element_id','". 
    411                                                 $GLOBALS['phpgw']->common->grab_owner_name($user['account_id'])."','$user[account_id]')". 
     411                                                $GLOBALS['phpgw']->common->grab_owner_name($user['account_id'])."','{$user['account_id']}')". 
    412412                                                ($single ? '; window.close()' : ''), 
    413413                                )); 
Note: See TracChangeset for help on using the changeset viewer.