[SPT/CWIS] problem with SPT--SelectEditUserList.php

Erik Peterson epeterson at edc.org
Mon Mar 19 09:59:58 CDT 2007


Hello,

We seem to be having a problem with this page when a user attempts to
view records after the first page of results.  Searching for all users
returns 483 Users, the first twenty are shown, but the "next 20 results"
link gives: 

    Warning: Invalid argument supplied for foreach() in
/path/to/site/CWIS/SPT--SelectEditUserList.php on line 153

The session variable, UserArray doesn't seem to be getting set properly.
When calling:

    $UserArray = $Session->Get("UserArray");

This returns 1 element in the Array.

On the first page, which does return the first twenty users, the line
that sets the session:

    $Session->PassVariable("UserArray", $UserArray);

does set the variable with all 483 users, but it doesn't seem to hold
for the next page.

We're running 1.4.0 and everything else seems to be working fine.  If
anyone can point me to the right location or pass along any hints, it
would be much appreciated.

Thanks,
Erik

--
Erik Peterson
Manager, Project Technology Services
Education Development Center, Inc.
http://main.edc.org/




More information about the SPT-CWIS-Users mailing list