aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-portal/www/include
diff options
context:
space:
mode:
authorM.Gergo2019-10-27 02:17:37 +0100
committerM.Gergo2019-10-27 02:17:37 +0100
commitabd8cfdf391410090842081422f711779978f473 (patch)
tree134baa4655481da13d00e2315860c16e877851d7 /mayor-orig/mayor-portal/www/include
parent6d684ff9fb3caf8de057829bda27995d5d9de361 (diff)
downloadmayor-abd8cfdf391410090842081422f711779978f473.tar.gz
mayor-abd8cfdf391410090842081422f711779978f473.zip
Rev: 4554rev4554
Diffstat (limited to 'mayor-orig/mayor-portal/www/include')
-rw-r--r--mayor-orig/mayor-portal/www/include/modules/portal/share/hirek.php3
1 files changed, 1 insertions, 2 deletions
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 5aa3bdc9..e4791c3a 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,8 +41,7 @@
$WHERE = "WHERE ".implode(' AND ',$W);
} else $WHERE = '';
- //hack
- if ($SET['all']===true) $WHERE='';
+ if ($SET['all']===true) $WHERE=' WHERE `owner`="'._USERACCOUNT.'" ';
$q = "SELECT * FROM hirek $WHERE ORDER BY kdt DESC,vdt DESC".$L;
$HIREK['szovegek'] = db_query($q, array('modul'=>'portal','result'=>'indexed'));
return $HIREK;