소스 검색

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

Michael Eshom 11 년 전
부모
커밋
27dfd9643f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(