mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 00:06:55 +02:00
Fix on the modules install screen when entering a module name with trailing whitespace so that it doesn't get converted to underscore and result in unknown module message
This commit is contained in:
@@ -1060,7 +1060,7 @@ class ProcessModule extends Process {
|
||||
$sanitizer = $this->wire()->sanitizer;
|
||||
$session = $this->wire()->session;
|
||||
|
||||
$name = $sanitizer->name($name);
|
||||
$name = $sanitizer->name(trim($name));
|
||||
$info = self::getModuleInfo();
|
||||
$this->headline($this->labels['download_install']);
|
||||
$this->breadcrumb('./', $info['title']);
|
||||
|
Reference in New Issue
Block a user