Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -236,6 +236,12 @@ class _browse extends \IPS\Dispatcher\Controller
|
||||
|
||||
/* Set default search option */
|
||||
\IPS\Output::i()->defaultSearchOption = array( 'downloads_file', "downloads_file_pl" );
|
||||
|
||||
/* Update Views */
|
||||
if ( !\IPS\Request::i()->isAjax() )
|
||||
{
|
||||
$category->updateViews();
|
||||
}
|
||||
|
||||
/* Output */
|
||||
\IPS\Output::i()->title = $category->_title;
|
||||
|
||||
@@ -177,7 +177,7 @@ class _pending extends \IPS\Content\Controller
|
||||
{
|
||||
if( !$this->version->canDelete())
|
||||
{
|
||||
\IPS\Output::i()->error( 'file_version_pending_cannot_delete', '2D417/4', 403, '' ); //TODO error code
|
||||
\IPS\Output::i()->error( 'file_version_pending_cannot_delete', '2D417/6', 403, '' );
|
||||
}
|
||||
/* Make sure the user confirmed the deletion */
|
||||
\IPS\Request::i()->confirmedDelete();
|
||||
|
||||
Reference in new issue
Block a user