mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
#135 문서 이동시 트랙백 예외처리
This commit is contained in:
parent
fab3608588
commit
3490eb75b2
1 changed files with 9 additions and 5 deletions
|
|
@ -140,7 +140,6 @@ class documentAdminController extends document
|
||||||
$oDB->rollback();
|
$oDB->rollback();
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set 0 if a new category doesn't exist after catergory change
|
// Set 0 if a new category doesn't exist after catergory change
|
||||||
if($source_category_srl != $category_srl)
|
if($source_category_srl != $category_srl)
|
||||||
{
|
{
|
||||||
|
|
@ -166,13 +165,18 @@ class documentAdminController extends document
|
||||||
$oDB->rollback();
|
$oDB->rollback();
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
// move the trackback
|
// move the trackback
|
||||||
$output = executeQuery('trackback.updateTrackbackModule', $args);
|
if(getClass('trackback'))
|
||||||
if(!$output->toBool())
|
|
||||||
{
|
{
|
||||||
$oDB->rollback();
|
$output = executeQuery('trackback.updateTrackbackModule', $args);
|
||||||
return $output;
|
if(!$output->toBool())
|
||||||
|
{
|
||||||
|
$oDB->rollback();
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tags
|
// Tags
|
||||||
$output = executeQuery('tag.updateTagModule', $args);
|
$output = executeQuery('tag.updateTagModule', $args);
|
||||||
if(!$output->toBool())
|
if(!$output->toBool())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue