Yet another attempt to fix the populateIpChanges script
[lhc/web/wiklou.git] / maintenance / populateCategory.php
index 87a4699..5dccdd6 100644 (file)
@@ -71,7 +71,7 @@ TEXT
        public function execute() {
                $begin = $this->getOption( 'begin', '' );
                $throttle = $this->getOption( 'throttle', 0 );
-               $force = $this->getOption( 'force', false );
+               $force = $this->hasOption( 'force' );
 
                $dbw = $this->getDB( DB_MASTER );