FEATURE #2351 @45m: minor UI tweaks, add error templates
This commit is contained in:
@@ -3,6 +3,7 @@ namespace Modules\ContactForm\Pipeline\SavePipeline;
|
||||
|
||||
use App\CMS\Contracts\Content\SavePipeline\Process;
|
||||
use App\Models\Content\Content;
|
||||
use Modules\ContactForm\Handlers\ContactForm;
|
||||
|
||||
class SaveContactInformation implements Process
|
||||
{
|
||||
@@ -16,6 +17,8 @@ class SaveContactInformation implements Process
|
||||
*/
|
||||
function handle(Content & $page, array & $input)
|
||||
{
|
||||
if ($page->moduleHandler != ContactForm::class)
|
||||
return;
|
||||
|
||||
$settings = [
|
||||
'phone' => $input['phone'],
|
||||
|
||||
Reference in New Issue
Block a user