bugfixes for pagination and installation
This commit is contained in:
@ -56,7 +56,7 @@ class Plugins extends AdminController {
|
||||
if ( !Input::exists( 'installHash' ) ) {
|
||||
return Views::view( 'admin.modules.plugins.enable' );
|
||||
}
|
||||
if ( !Plugin::enable( $name ) ) {
|
||||
if ( ! Plugin::enable( $name ) ) {
|
||||
Session::flash( 'error', 'There was an error enabling the plugin.' );
|
||||
} else {
|
||||
Session::flash( 'success', 'Plugin has been enabled.' );
|
||||
|
Reference in New Issue
Block a user