#18205832 DB에서 vid값이 존재하는지 검사하도록 하여 중복 생성되지 않도록 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-08-05 05:29:06 +00:00
parent 4b1b45ad1a
commit 78524bb4aa

View file

@ -121,6 +121,9 @@
$args->domain = preg_replace('/\/$/','',$domain);
$args->index_module_srl = $index_module_srl;
$args->default_language = Context::getLangType();
$output = executeQuery('module.getSiteInfoByDomain', $args);
if($output->data) return new Object(-1,'msg_already_registed_vid');
$output = executeQuery('module.insertSite', $args);
if(!$output->toBool()) return $output;