aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_users_overview.html
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-04-22 00:36:38 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2012-05-10 22:53:04 +0530
commit164054f0679caaa68fb8400d3469b1149022db29 (patch)
tree0de4d086680570f008781395652ac0e398d0f131 /phpBB/adm/style/acp_users_overview.html
parentcf303c34788b32e1c09f483e2760b77eff3e05ca (diff)
downloadforums-164054f0679caaa68fb8400d3469b1149022db29.tar
forums-164054f0679caaa68fb8400d3469b1149022db29.tar.gz
forums-164054f0679caaa68fb8400d3469b1149022db29.tar.bz2
forums-164054f0679caaa68fb8400d3469b1149022db29.tar.xz
forums-164054f0679caaa68fb8400d3469b1149022db29.zip
[ticket/10308] fixes sql query, limit it to 1
instead of fetching all posts by user we limit the query to 1 to check if a user has posts or not PHPBB3-10308
Diffstat (limited to 'phpBB/adm/style/acp_users_overview.html')
-rw-r--r--phpBB/adm/style/acp_users_overview.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/style/acp_users_overview.html b/phpBB/adm/style/acp_users_overview.html
index fdc1d55855..ea2700e5e4 100644
--- a/phpBB/adm/style/acp_users_overview.html
+++ b/phpBB/adm/style/acp_users_overview.html
@@ -141,7 +141,7 @@
<dl>
<dt><label for="delete_type">{L_DELETE_USER}:</label><br /><span>{L_DELETE_USER_EXPLAIN}</span></dt>
<dd>
- <!-- IF USER_TOTAL_POSTS == 0 -->
+ <!-- IF USER_HAS_POSTS == 0 -->
{L_USER_NO_POSTS_DELETE}<input type="hidden" id="delete_type" name="delete_type" value="retain" />
<!-- ELSE -->
<select id="delete_type" name="delete_type"><option class="sep" value="">{L_SELECT_OPTION}</option><option value="retain">{L_RETAIN_POSTS}</option><option value="remove">{L_DELETE_POSTS}</option></select></dd>