Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -146,7 +146,7 @@ class _create extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
foreach( $sw AS $key )
|
||||
{
|
||||
$where[] = array( 'sw=? AND app_key=?', $app, $key );
|
||||
$where[] = array( 'sw=? AND app_key=? AND finished=?', $app, $key, 0 );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -280,6 +280,12 @@ class _create extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
throw new \InvalidArgumentException( 'invalid_prefix' );
|
||||
}
|
||||
/* Can't find the table */
|
||||
catch( \IPS\convert\Exception $e )
|
||||
{
|
||||
$form->error = $e->getMessage();
|
||||
return $form;
|
||||
}
|
||||
}
|
||||
catch( \InvalidArgumentException $e )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user