The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Validation malfunction with update 4.4.07 - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.4 (https://userspice.com/forums/forumdisplay.php?fid=27)
+--- Thread: Validation malfunction with update 4.4.07 (/showthread.php?tid=1418)



Validation malfunction with update 4.4.07 - MatthiasM - 04-05-2019

Fellow Userspicers,

the Validation.php class is missing some curly brackets at some if/else functions, starting at line 172 ( checking for >= ).

without them, the validation process failes on you.

I'm in love with the new language options <3

Keep on rocking,
Matthias


RE: Validation malfunction with update 4.4.07 - mudmin - 04-05-2019

(04-05-2019, 11:51 AM)MatthiasM Wrote: Fellow Userspicers,

the Validation.php class is missing some curly brackets at some if/else functions, starting at line 172 ( checking for >= ).

without them, the validation process failes on you.

I'm in love with the new language options <3

Keep on rocking,
Matthias

Ahh thank you! I will fix that. Glad you're liking it!  It has to do with some of those things were written in the one line style that doesn't need them...until it does. I hate that style Smile


RE: Validation malfunction with update 4.4.07 - mudmin - 04-05-2019

Would you mind checking if this fixed your issues?
https://pastebin.com/stB4PzsP
users/classes/Validate.php


RE: Validation malfunction with update 4.4.07 - MatthiasM - 04-15-2019

(04-05-2019, 04:24 PM)mudmin Wrote: Would you mind checking if this fixed your issues?
https://pastebin.com/stB4PzsP
users/classes/Validate.php

Hey mudmin,


still some brackets m.i.a. Wink

try this one: https://pastebin.com/D4N2eA84

Keep on rocking,
Matthias


RE: Validation malfunction with update 4.4.07 - mudmin - 04-16-2019

(04-15-2019, 08:23 AM)MatthiasM Wrote:
(04-05-2019, 04:24 PM)mudmin Wrote: Would you mind checking if this fixed your issues?
https://pastebin.com/stB4PzsP
users/classes/Validate.php

Hey mudmin,


still some brackets m.i.a. Wink

try this one: https://pastebin.com/D4N2eA84

Keep on rocking,
Matthias

Thank you Matthias. That file was a little bit more of a main than I was expecting. I will push those into the code for .10