Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -781,9 +781,9 @@ |
782 | 782 | 'cc_rev_id' => $this->id ); |
783 | 783 | |
784 | 784 | if( $attached ) { |
785 | | - $conditions['cc_patch_line!'] = null; |
| 785 | + $conditions['cc_patch_line'] = '!= null'; |
786 | 786 | } else { |
787 | | - $conditions['cc_patch_line'] = null; |
| 787 | + $conditions['cc_patch_line'] = null; |
788 | 788 | } |
789 | 789 | |
790 | 790 | $dbr = wfGetDB( DB_SLAVE ); |