From 4047b31240ac0927ee7cc575f272549f445a5b96 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 10 Nov 2019 09:46:32 +0100 Subject: Rev: 4569 --- mayor-orig/mayor-portal/www/include/modules/portal/share/hirek.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mayor-orig/mayor-portal/www/include') diff --git a/mayor-orig/mayor-portal/www/include/modules/portal/share/hirek.php b/mayor-orig/mayor-portal/www/include/modules/portal/share/hirek.php index e4791c3a..d7db431e 100644 --- a/mayor-orig/mayor-portal/www/include/modules/portal/share/hirek.php +++ b/mayor-orig/mayor-portal/www/include/modules/portal/share/hirek.php @@ -41,7 +41,7 @@ $WHERE = "WHERE ".implode(' AND ',$W); } else $WHERE = ''; - if ($SET['all']===true) $WHERE=' WHERE `owner`="'._USERACCOUNT.'" '; + if ($SET['all']===true) $WHERE = ''; $q = "SELECT * FROM hirek $WHERE ORDER BY kdt DESC,vdt DESC".$L; $HIREK['szovegek'] = db_query($q, array('modul'=>'portal','result'=>'indexed')); return $HIREK; -- cgit v1.2.3