mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
mid's length validate
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12132 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0d282bd1d6
commit
4b38ad8222
3 changed files with 6 additions and 5 deletions
|
|
@ -340,9 +340,9 @@
|
|||
if($isProc)
|
||||
{
|
||||
$result = $this->_insertModule($request, $args);
|
||||
if($result->error < 0)
|
||||
if(!$result->toBool())
|
||||
{
|
||||
return new Object($result->error, $result->message);
|
||||
return new Object(-1, $result->message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -418,7 +418,7 @@
|
|||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModule($cmArgs);
|
||||
|
||||
return $output->toBool();
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue