Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mooshmedia

    (@mooshmedia)

    Well I fixed it by taking out the following code…

    ### form w/ files, within session or single form
    if ( $doAttach && $ongoingSession!=’0′ && is_array($file) ){
    foreach( $file[tmp_name] as $fn ){
    cforms2_base64($fn, $doAttach);
    ### debug
    cforms2_dbg( “File = $fn, attach = $doAttach” );
    }
    }

    Plugin Author bgermann

    (@bgermann)

    resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: Invalid argument supplied for foreach’ is closed to new replies.