mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Minor rollback
Not all widget base classes will allow arg 1 from being omitted, specifically Report Widgets that define drop down options Fixes #2229
This commit is contained in:
parent
8b21ed7d6f
commit
c7724f7c90
@ -33,7 +33,7 @@ trait InspectableContainer
|
||||
throw new ApplicationException('The options cannot be loaded for the specified class.');
|
||||
}
|
||||
|
||||
$obj = new $className;
|
||||
$obj = new $className(null);
|
||||
|
||||
// Nested properties have names like object.property.
|
||||
// Convert them to Object.Property.
|
||||
|
Loading…
x
Reference in New Issue
Block a user