Pārlūkot izejas kodu

! The user ID isn't used in the pm_labeled_messages table, causing an error...

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 10 gadi atpakaļ
vecāks
revīzija
cd64bab6d4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Sources/PersonalMessage.php

+ 1 - 1
Sources/PersonalMessage.php

@@ -4004,7 +4004,7 @@ function ApplyRules($all_messages = false)
 			$inserts = array();
 			// Now we insert the label info
 			foreach ($realLabels as $a_label)
-				$inserts[] = array($user_info['id'], $pm, $label);
+				$inserts[] = array($pm, $label);
 
 			$smcFunc['db_insert']('', '{db_prefix}pm_labeled_messages', array('id_pm' => 'int', 'id_label' => 'int'), $inserts, array());
 		}