FIX: fix latent bug in save pipeline - trim backslashes from handler name
This commit is contained in:
@@ -17,8 +17,9 @@ class SaveContactInformation implements Process
|
||||
*/
|
||||
function handle(Content & $page, array & $input)
|
||||
{
|
||||
if ($page->moduleHandler != ContactForm::class)
|
||||
if (trim($page->moduleHandler, '\\') != ContactForm::class) {
|
||||
return;
|
||||
}
|
||||
|
||||
$settings = [
|
||||
'phone' => $input['phone'],
|
||||
|
||||
Reference in New Issue
Block a user