aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-13 15:06:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-13 15:06:32 +0000
commite1437d7a21e294b7531cbd6acd5b77814c82ec8b (patch)
treeaa9f835fb87678577103091c2bb708f071867e73 /phpBB/includes/functions_privmsgs.php
parent298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (diff)
downloadforums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.gz
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.bz2
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.tar.xz
forums-e1437d7a21e294b7531cbd6acd5b77814c82ec8b.zip
- added class="radio" to all radio- and checkboxes
- make sure the database gets closed correctly in cron.php - bugfixes git-svn-id: file:///svn/phpbb/trunk@6055 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 319e8810b6..a8d0932d2a 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -280,7 +280,7 @@ function check_rule(&$rules, &$rule_row, &$message_row, $user_id)
case ACTION_MARK_AS_READ:
case ACTION_MARK_AS_IMPORTANT:
case ACTION_DELETE_MESSAGE:
- return array('action' => $rule_row['rule_action'], 'unread' => $message_row['unread'], 'important' => $message_row['important']);
+ return array('action' => $rule_row['rule_action'], 'unread' => $message_row['unread'], 'marked' => $message_row['marked']);
break;
default:
@@ -465,7 +465,7 @@ function place_pm_into_folder(&$global_privmsgs_rules, $release = false)
break;
case ACTION_MARK_AS_IMPORTANT:
- if (!$rule_ary['important'])
+ if (!$rule_ary['marked'])
{
$important_ids[] = $msg_id;
}