diff --git a/includes.php b/includes.php index cba79d0..f4b8542 100644 --- a/includes.php +++ b/includes.php @@ -109,7 +109,7 @@ function hookpress_print_edit_webhook( $id ){ $fields = array(); foreach ($args as $arg) { - if (preg_match('[A-Z]+',$arg)) + if (preg_match('/[A-Z]+/',$arg)) $fields = array_merge($fields,hookpress_get_fields($arg)); else $fields[] = $arg;