[TEP-COMMIT] [CVS admin] properly close the customer class variable string (related to bug 1567)
anonymous-OfajU3CKLf1/[email protected] 8 Apr 2004 06:18:35 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in admin/admin on MAIN whos_online.php +1 -1 1.35 -> 1.36 properly close the customer class variable string (related to bug 1567 ) ---------- admin /admin whos_online.php 1.35 -> 1.36 diff -u -r1.35 -r1.36 --- whos_online.php 2004/04/08 06:12:24 1.35 +++ whos_online.php 2004/04/08 06:18:33 1.36 @@ -132,7 +132,7 @@ } } - $session_data_id = substr($session_data, $start_id, $i); + $session_data_id = substr($session_data, $start_id, $i - $start_id); include(DIR_FS_CATALOG . 'includes/classes/customer.php'); session_decode($session_data_id); $customer_id = $osC_Customer->id; CVSspam 0.2.8 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click