mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#18205832 DB에서 vid값이 존재하는지 검사하도록 하여 중복 생성되지 않도록 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4b1b45ad1a
commit
78524bb4aa
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue