Skip to content

Commit 031b124

Browse files
author
micker
committed
small correction
1 parent 608276e commit 031b124

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public static function getUseritem(&$params)
9595
$itemUseritem->state=JText::_('FLEXI_PENDING');
9696
break;
9797
case -4:
98-
$itemUseritem->state=JText::_('FLEXI_TO_WRITE');
98+
$itemUseritem->state=JText::_('FLEXI_DRAFT');
9999
break;
100100
case -5:
101101
$itemUseritem->state=JText::_('FLEXI_IN_PROGRESS');
@@ -217,7 +217,7 @@ public static function getCustomlist10(&$params)
217217
{
218218
// recupere la connexion à la BD
219219
$db = JFactory::getDbo();
220-
$queryCustomlist10 = 'SELECT a.id,b.name, a.title, a.catid, a.created, a.created_by, a.modified, a.modified_by FROM #__content AS a LEFT JOIN #__users AS b ON a.created_by = b.idt WHERE catid='.(int) $params->get('catidlist10').' AND state = 1 ORDER BY modified DESC LIMIT '. (int) $params->get('count');
220+
$queryCustomlist10 = 'SELECT a.id,b.name, a.title, a.catid, a.created, a.created_by, a.modified, a.modified_by FROM #__content AS a LEFT JOIN #__users AS b ON a.created_by = b.id WHERE catid='.(int) $params->get('catidlist10').' AND state = 1 ORDER BY modified DESC LIMIT '. (int) $params->get('count');
221221
$db->setQuery( $queryCustomlist10 );
222222
$itemsCustomlist10 = $db->loadObjectList();
223223
foreach ($itemsCustomlist10 as &$itemCustomlist10) {

0 commit comments

Comments
 (0)