Skip to content

Commit

Permalink
More Joomla 5.0 native fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joomdonation committed Oct 19, 2023
1 parent 447a5fe commit c4e411e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
label="JGLOBAL_DESCRIPTION"
buttons="true"
hide="pagebreak,readmore"
filter="JComponentHelper::filterText"
filter="\Joomla\CMS\Component\ComponentHelper::filterText"
/>

<field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\Form;
use Joomla\CMS\Helper\TagsHelper;
use Joomla\CMS\Language\Associations;
use Joomla\CMS\Language\LanguageHelper;
Expand Down Expand Up @@ -365,7 +366,7 @@ protected function generateNewTitle($category_id, $alias, $name)
*
* @since 3.6.0
*/
protected function preprocessForm(\JForm $form, $data, $group = 'content')
protected function preprocessForm(Form $form, $data, $group = 'content')
{
if ($this->canCreateCategory()) {
$form->setFieldAttribute('catid', 'allowAdd', 'true');
Expand Down

0 comments on commit c4e411e

Please sign in to comment.