mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
check $krzipModel and "getKrzipCodeSearchHtml" method exists in $krzipModel
This commit is contained in:
parent
424edf4b96
commit
f01b8b932d
2 changed files with 25 additions and 19 deletions
|
|
@ -596,7 +596,10 @@ class memberAdminView extends member
|
|||
else if($extendForm->column_type == 'kr_zip')
|
||||
{
|
||||
$krzipModel = &getModel('krzip');
|
||||
$template = $krzipModel->getKrzipCodeSearchHtml($extendForm->column_name, $extendForm->value);
|
||||
if($krzipModel && method_exists($krzipModel , 'getKrzipCodeSearchHtml' ))
|
||||
{
|
||||
$template = $krzipModel->getKrzipCodeSearchHtml($extendForm->column_name, $extendForm->value);
|
||||
}
|
||||
}
|
||||
else if($extendForm->column_type == 'jp_zip')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue