#1 Warnings in 5.2 when arrays are not initialized.

open
nobody
None
5
2007-03-30
2007-03-30
Stan Lemon
No

In the file that handles types none of the arrays are initialized, consequently a warning will be thrown by PHP about using a scalar variable like an array. There is a simple and easy fix to avoid this, initialize the array before using. I will post a patch, as I did this for my local copy.

Discussion

  • Stan Lemon
    Stan Lemon
    2007-03-30

    Fix for unitialized arrays.

     
    Attachments
  • Stan Lemon
    Stan Lemon
    2007-03-30

    Logged In: YES
    user_id=1330224
    Originator: YES

    File Added: PayPalPro-Patch.diff

     
  • Israel Ekpo
    Israel Ekpo
    2007-06-26

    Logged In: YES
    user_id=1697590
    Originator: NO

    Thanks a lot. I will include this in the subsequent releases.