MW-Peachy / Peachy

The official MediaWiki PHP bot framework. Current Version: 2.0 alpha 8
GNU General Public License v3.0
26 stars 21 forks source link

Revert one component of 5141fb74 (use of empty()) #100

Closed Jarry1250 closed 8 years ago

Jarry1250 commented 9 years ago

This yields $exists = false when the user does in fact exist.

Probably just a logic error (i.e. should be exists() not !exists()) but I'm not clear why using empty() is desirable anyway (0 is not a valid return).