  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: customer.php 201 2005-09-23 08:40:18Z hpdl $ |
| |
| 3 | + | $Id: customer.php 202 2005-09-23 08:44:11Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
20 | 20 | | /* Class constructor */ |
| |
21 | 21 | | |
| |
22 | 22 | | function osC_Customer() { |
  |
23 | | - | if (isset($_SESSION['osC_Customer_data']) && is_array($_SESSION['osC_Customer_data']) && (sizeof($_SESSION['osC_Customer_data']) > 0) && isset($_SESSION['osC_Customer_data']['id']) && is_numeric($_SESSION['osC_Customer_data']['id'])) { |
| |
| 23 | + | if (isset($_SESSION['osC_Customer_data']) && is_array($_SESSION['osC_Customer_data']) && isset($_SESSION['osC_Customer_data']['id']) && is_numeric($_SESSION['osC_Customer_data']['id'])) { |
  |
24 | 24 | | $this->setIsLoggedOn(true); |
| |
25 | 25 | | $this->_data =& $_SESSION['osC_Customer_data']; |
| |
26 | 26 | | } |