Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

Update jefreg.php#5

Open
mgilkes wants to merge 1 commit intojoomla-extensions:masterfrom
mgilkes:patch-3
Open

Update jefreg.php#5
mgilkes wants to merge 1 commit intojoomla-extensions:masterfrom
mgilkes:patch-3

Conversation

@mgilkes
Copy link

@mgilkes mgilkes commented Jan 21, 2014

You must set the field as required. If the field is not required when $jefreg['installat'] is empty, the rule test for the field will return as true (i.e. valid), instead of false.

You must set the field as required. If the field is not required when $jefreg['installat'] is empty, the rule test for the field will return as true (i.e. valid), instead of false.
@emavro
Copy link

emavro commented Jan 21, 2014

Actually, we don't mind that at that point. The test there is only meant to check that $_POST['installat'] is not a hacking attempt. $jefreg['installat'] is checked at isSessionOK() for a null value.

Having said that, I think that's a good suggestion, nevertheless, as it saves some computation time. So, I'll probably check and merge. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants