Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#48 not pictures

open
courou
Interface (6)
5
2007-11-30
2007-11-30
Anonymous
No

PHP 5.2.5 FreeBSD

PHP Warning: array_key_exists() [<a href='function.array
-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in /usr/local
/www/myphpmoney_2.0/public_html/inc/pictures.inc on line 1144, ...

PHP Notice: Undefined index: _REQUEST in /usr/local/www
/myphpmoney_2.0/public_html/inc/pictures.inc on line 1144,

Discussion

  • hpfn
    hpfn
    2007-12-04

    Logged In: YES
    user_id=1720950
    Originator: NO

    Hi,

    How line 1144 should be:

    - if (array_key_exists('flag',$GLOBALS['_REQUEST']) && $GLOBALS['_REQUEST']['flag'] == $img)

    + if (array_key_exists('flag',$_REQUEST) && $_REQUEST['flag'] == $img) {
    echo base64_decode($a); die();
    }

    Regards
    hpfn