]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commit
Allow add_meta() with a value of false/null/int.
authorBram Matthys <redacted>
Sat, 13 May 2023 13:40:32 +0000 (15:40 +0200)
committerBram Matthys <redacted>
Sat, 13 May 2023 13:43:21 +0000 (15:43 +0200)
commit75b243f6837a3862744146c8c44ed305d84feec2
tree507f5d560ad5f85441d02ab3be443a25d8967d89
parent2d0fe151fc31c31363a4387aaccbfcbada5317f3
Allow add_meta() with a value of false/null/int.
Actually we could just as well drop the value type requirement
since we accept array now and thus indirectly accept everything
since the values within the array go unchecked, but.. whatever :P

This also removes the !$value check, which added similar restrictions.
Classes/class-paneluser.php