Skip to content

Commit

Permalink
use new contao.image.sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
denniserdmann committed Feb 13, 2023
1 parent a8ef926 commit f823cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
'eval' => array('rgxp'=>'natural', 'includeBlankOption'=>true, 'nospace'=>true, 'helpwizard'=>true, 'tl_class'=>'w50'),
'options_callback' => static function ()
{
return Contao\System::getContainer()->get('contao.image.image_sizes')->getOptionsForUser(Contao\BackendUser::getInstance());
return Contao\System::getContainer()->get('contao.image.sizes')->getOptionsForUser(Contao\BackendUser::getInstance());
},
'sql' => "varchar(255) NOT NULL default ''"
];
Expand Down

0 comments on commit f823cf0

Please sign in to comment.