Changing comment
This commit is contained in:
parent
9b6e02a384
commit
75684b9918
|
@ -27,7 +27,7 @@ class WeblinksModelWeblink extends JModelAdmin
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
public $typeAlias = 'com_weblinks.weblink';
|
public $typeAlias = 'com_weblinks.weblink';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The context used for the associations table
|
* The context used for the associations table
|
||||||
*
|
*
|
||||||
|
@ -210,7 +210,7 @@ class WeblinksModelWeblink extends JModelAdmin
|
||||||
$registry->loadString($item->images);
|
$registry->loadString($item->images);
|
||||||
$item->images = $registry->toArray();
|
$item->images = $registry->toArray();
|
||||||
|
|
||||||
// Load associated newsfeeds items
|
// Load associated web links items
|
||||||
$app = JFactory::getApplication();
|
$app = JFactory::getApplication();
|
||||||
$assoc = JLanguageAssociations::isEnabled();
|
$assoc = JLanguageAssociations::isEnabled();
|
||||||
|
|
||||||
|
@ -325,7 +325,7 @@ class WeblinksModelWeblink extends JModelAdmin
|
||||||
|
|
||||||
// Cast catid to integer for comparison
|
// Cast catid to integer for comparison
|
||||||
$catid = (int) $data['catid'];
|
$catid = (int) $data['catid'];
|
||||||
|
|
||||||
// Check if New Category exists
|
// Check if New Category exists
|
||||||
if ($catid > 0)
|
if ($catid > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue