function update($query, $query_column, model_default $obj_data) { parent::update($query, $query_column, $obj_data); }
<?php /* Copyright (c) 2002 - 2005 SystemsManager.Net SystemsManager Technologies oscMall System Version 4 http://www.systemsmanager.net Portions Copyright (c) 2002 osCommerce This source file is subject to version 2.0 of the GPL license, that is bundled with this package in the file LICENSE. If you did not receive a copy of the oscMall System license and are unable to obtain it through the world-wide-web, please send a note to license@systemsmanager.net so we can mail you a copy immediately. */ global $page_name; if (!smn_session_is_registered('customer_id')) { $navigation->set_snapshot(); smn_redirect(smn_href_link(FILENAME_LOGIN, '', 'NONSSL')); } $store = new store(0, $customer_id); if (isset($_POST['action']) && $_POST['action'] == 'process') { $store->set_store_description(smn_db_prepare_input($_POST['store_description'])); $store->update(); $messageStack->add_session('account', SUCCESS_STORE_UPDATED, 'success'); smn_redirect(smn_href_link(FILENAME_ACCOUNT, '', 'NONSSL')); } $breadcrumb->add(NAVBAR_TITLE_1, smn_href_link(FILENAME_ACCOUNT, '', 'NONSSL')); $breadcrumb->add(NAVBAR_TITLE_2, smn_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'NONSSL'));