mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-27 22:38:28 +00:00
More Joomla 5.0 native fixes
This commit is contained in:
parent
447a5fe9b7
commit
c4e411e42e
@ -53,7 +53,7 @@
|
||||
label="JGLOBAL_DESCRIPTION"
|
||||
buttons="true"
|
||||
hide="pagebreak,readmore"
|
||||
filter="JComponentHelper::filterText"
|
||||
filter="\Joomla\CMS\Component\ComponentHelper::filterText"
|
||||
/>
|
||||
|
||||
<field
|
||||
|
@ -16,6 +16,7 @@ namespace Joomla\Component\Weblinks\Administrator\Model;
|
||||
|
||||
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;
|
||||
@ -365,7 +366,7 @@ class WeblinkModel extends AdminModel
|
||||
*
|
||||
* @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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user