[Tep-j-develop] 不具合をコミットしました。

Back to archive index

佐藤 浩(Hiroshi Satou) s.hir****@mmy*****
2003年 7月 17日 (木) 12:22:56 JST


こんにちは。佐藤@キャプテンです。

不具合をいくつか修正し、コミットしました。
「register_global = On」の環境では動作に支障はなく
「register_global = Off」化の作業で気が付いたものです。

一番最後のものは[各種ツール] → [メールマガジン管理] で
product_notification モジュールを選択したメールマガジンを送信した後
、戻るボタンを押さずに左側メニュー(太字)をクリックするとエラーが発生
することへの対応です。修正方法が正しいかどうか自信がありませんので、
不適切な場合は修正お願いします(^^;


■admin/users.php
47行付近に挿入
if (isset($HTTP_POST_VARS['execute_new'])) { $execute_new = $HTTP_POST_VARS['execute_new']; }
if (isset($HTTP_POST_VARS['execute_insert'])) { $execute_insert = $HTTP_POST_VARS['execute_insert']; }
if (isset($HTTP_POST_VARS['execute_update'])) { $execute_update = $HTTP_POST_VARS['execute_update']; }
if (isset($HTTP_POST_VARS['execute_delete'])) { $execute_delete = $HTTP_POST_VARS['execute_delete']; }
if (isset($HTTP_POST_VARS['execute_grant'])) { $execute_grant = $HTTP_POST_VARS['execute_grant']; }
if (isset($HTTP_POST_VARS['execute_reset'])) { $execute_reset = $HTTP_POST_VARS['execute_reset']; }

■admin/users_log.php
48行付近に挿入
if (isset($HTTP_POST_VARS['sp'])) { $sp = $HTTP_POST_VARS['sp']; }
if (isset($HTTP_POST_VARS['execute_delete'])) { $execute_delete = $HTTP_POST_VARS['execute_delete']; }

■admin/includes/classes/user_certify.php
line 334
変更前) if ($execute_logout_user) { logout_user(FALSE,'o'); }
変更後) if ($GLOBALS['HTTP_GET_VARS']['execute_logout_user']) { logout_user(FALSE,'o'); }

■/admin/newsletters.php
line 38
変更前) if (empty($module))
変更後) if (empty($newsletter_module))

line 272
変更前) $module->send($nInfo->newsletters_id);
変更後) if (!isset($HTTP_GET_VARS['selected_box'])) $module->send($nInfo->newsletters_id);

*********************************

〒990-0043 山形市本町一丁目7-54
 キャプテン山形株式会社
 佐藤 浩
 TEL 023-622-6611
 Fax 023-622-6733
 E-mail: s.hir****@mmy*****

*********************************





Tep-j-develop メーリングリストの案内
Back to archive index