another bugfix
This commit is contained in:
@@ -115,7 +115,7 @@ function booking_price_form($node, &$form_state, $create, $editid = 0)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//verify that $editid is a number
|
//verify that $editid is a number
|
||||||
if preg_match(! ('/^[0-9]+$/', $editid)) {
|
if (! preg_match('/^[0-9]+$/', $editid)) {
|
||||||
drupal_set_message("Error: Invalid price ID supplied. Unable to update price entry.", 'error', FALSE);
|
drupal_set_message("Error: Invalid price ID supplied. Unable to update price entry.", 'error', FALSE);
|
||||||
drupal_goto('admin/config/booking/prices');
|
drupal_goto('admin/config/booking/prices');
|
||||||
return "";
|
return "";
|
||||||
|
Reference in New Issue
Block a user