Use double quotes to use variable $oper properly
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 1 Apr 2013 16:25:05 +0000 (18:25 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 1 Apr 2013 16:25:05 +0000 (18:25 +0200)
Introduced in Change-Id: I29461e5332f3fc6523cbd899e14394aa88865d93

Change-Id: Ic4e8d133fc9ab362f3f463309d799e80fff5d883

includes/actions/HistoryAction.php

index 909bd49..8729426 100644 (file)
@@ -224,7 +224,7 @@ class HistoryAction extends FormlessAction {
                }
 
                if ( $offset ) {
-                       $offsets = array( 'rev_timestamp $oper ' . $dbr->addQuotes( $dbr->timestamp( $offset ) ) );
+                       $offsets = array( "rev_timestamp $oper " . $dbr->addQuotes( $dbr->timestamp( $offset ) ) );
                } else {
                        $offsets = array();
                }