Skip to content

Commit 9aec637

Browse files
author
Daniel Kinzler
committed
timestamp is a string, not an int\!
git-svn-id: https://svn.toolserver.org/svnroot/daniel/duesenstuff/trunk/gpClient@630 9f2c43bc-b3c0-43f4-b155-41619b16f219
1 parent 06fc387 commit 9aec637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/gpMediaWiki.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ public function retain_smaller( $size ) { #TODO: port to python!
620620
return $this->strip_by_size( $size, '>=' );
621621
}
622622

623-
public function strip_by_creation( $timestamp, $op ) { #TODO: port to python!
624-
$where = 'rev_timestamp ' . $op . ' ' . (int)$timestamp;
623+
protected function strip_by_creation( $timestamp, $op ) { #TODO: port to python!
624+
$where = 'rev_timestamp ' . $op . ' ' . $this->glue->quote_string($timestamp);
625625

626626
$join = array(
627627
'revision' => array('rev_page' => $this->id_field,

0 commit comments

Comments
 (0)