diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-01-24 10:06:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-01-24 10:06:59 +0100 |
commit | 554e44d001b2048a31b4b9e488fcb5832fdba6ea (patch) | |
tree | 1f1b61c0dfd15e820f418dd329427c4c04ed31fa /includes/LinkBatch.php | |
parent | 417cbeee53be17146ab8bbe0f67f90ea2ccee1d1 (diff) |
Aktualisierung auf Mediawiki 1.11.1
Diffstat (limited to 'includes/LinkBatch.php')
-rw-r--r-- | includes/LinkBatch.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/LinkBatch.php b/includes/LinkBatch.php index 8ab3393e..20bcd3d4 100644 --- a/includes/LinkBatch.php +++ b/includes/LinkBatch.php @@ -158,9 +158,9 @@ class LinkBatch { } if (count($dbkeys)==1) { // avoid multiple-reference syntax if simple equality can be used - + $singleKey = array_keys($dbkeys); $sql .= "({$prefix}_namespace=$ns AND {$prefix}_title=". - $db->addQuotes(current(array_keys($dbkeys))). + $db->addQuotes($singleKey[0]). ")"; } else { $sql .= "({$prefix}_namespace=$ns AND {$prefix}_title IN ("; |