Explorar o código

! Might help to actually tell the DB what table a particular alias belongs to...

Michael Eshom %!s(int64=11) %!d(string=hai) anos
pai
achega
27dfd9643f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/PersonalMessage.php

+ 1 - 1
Sources/PersonalMessage.php

@@ -2592,7 +2592,7 @@ function MessageActionsApply()
 				$request2 = $smcFunc['db_query']('', '
 					SELECT l.id_label, pml.id_pm
 					FROM {db_prefix}pm_labels AS l
-						INNER JOIN {db_prefix}pm_labeled_messages ON (pml.id_label = l.id_label)
+						INNER JOIN {db_prefix}pm_labeled_messages AS pml ON (pml.id_label = l.id_label)
 					WHERE l.id_member = {int:current_member}
 						AND pml.id_pm = {int:current_pm}',
 					array(