[bug #22529] bad call to parent constructor in class.accounts_ldap.inc.php

christian bac <[email protected]> Mon, 10 Mar 2008 11:40:33 +0000
Newsgroups gmane.comp.web.phpgroupware.tracker
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/bugs/?22529>

                 Summary: bad call to parent constructor in
class.accounts_ldap.inc.php
                 Project: phpGroupWare
            Submitted by: cbac
            Submitted on: Monday 03/10/2008 at 11:40
              Item Group: CVS HEAD (aka dev code)
                Category: API - phpGWapi
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
         Reproducibility: None
         Planned Release: None
           Fixed Release: 

    _______________________________________________________

Details:


diff class.accounts_ldap.inc.php
/home/chris/public_html/phpgroupware/phpgwapi/inc/accounts/
75c75
< 			parent::accounts($account_id, $account_type);
---
> 			parent::__construct($account_id, $account_type);
	

also add the following line at line 1285
to avoid error notice of unexisting accounts in line 1293

		  $accounts = array();





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22529>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/