Index: trunk/extensions/SubPageList3/SubPageList3.php |
— | — | @@ -362,9 +362,9 @@ |
363 | 363 | $order = strtoupper( $this->order ); |
364 | 364 | |
365 | 365 | if( $this->ordermethod == 'title' ) { |
366 | | - $options['ORDER BY'] = '`page_title`' . $order; |
| 366 | + $options['ORDER BY'] = 'page_title' . $order; |
367 | 367 | } else if( $this->ordermethod == 'lastedit' ) { |
368 | | - $options['ORDER BY'] = '`page_touched` ' . $order; |
| 368 | + $options['ORDER BY'] = 'page_touched ' . $order; |
369 | 369 | } |
370 | 370 | if( $this->parent !== -1) { |
371 | 371 | $this->ptitle = Title::newFromText( $this->parent ); |
— | — | @@ -392,7 +392,7 @@ |
393 | 393 | $conditions['page_namespace'] = $nsi; |
394 | 394 | } |
395 | 395 | $conditions['page_is_redirect'] = 0; |
396 | | - $conditions[] = '`page_title` ' . $dbr->buildLike( $parent . '/', $dbr->anyString() ); |
| 396 | + $conditions[] = 'page_title ' . $dbr->buildLike( $parent . '/', $dbr->anyString() ); |
397 | 397 | |
398 | 398 | $fields = array(); |
399 | 399 | $fields[] = 'page_title'; |