Browse Source

Fix exception in date time widget

Majna 11 years ago
parent
commit
16c157f22f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Widget/DateTime.php

+ 1 - 1
src/View/Widget/DateTime.php

@@ -151,7 +151,7 @@ class DateTime implements WidgetInterface {
 				continue;
 			}
 			if (!is_array($data[$select])) {
-				throw \RuntimeException(sprintf(
+				throw new \RuntimeException(sprintf(
 					'Options for "%s" must be an array|false|null',
 					$select
 				));