Index: trunk/extensions/UserDailyContribs/api/ApiUserDailyContribs.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | 'id', $user->getId() ); |
20 | 20 | // returns YYYYMMDDHHMMSS format |
21 | 21 | $result->addValue( $this->getModuleName() , |
22 | | - 'registration', ($user->getRegistration() == NULL)?0:$user->getRegistration() ); |
| 22 | + 'registration', ($user->getRegistration() == NULL)?'0':$user->getRegistration() ); |
23 | 23 | $result->addValue( $this->getModuleName() , |
24 | 24 | 'timeFrameEdits', getUserEditCountSince( $now - ($days * 60 *60 *24), $user ) ); |
25 | 25 | $result->addValue( $this->getModuleName() , |