true/false
This commit is contained in:
parent
9db0c0ce6f
commit
9ce0a4045f
@ -70,10 +70,10 @@ class formAddPromotion extends Form{
|
||||
//|| !mb_ereg_match(self::HTML5_EMAIL_REGEXP, $description)
|
||||
if ( strcmp($active,"si") == 0 || strcmp($active,"no") == 0) {
|
||||
if ( strcmp($active,"si") == 0 ) {
|
||||
$boolean = 0;
|
||||
$boolean = 1;
|
||||
}
|
||||
else {
|
||||
$boolean = 1;
|
||||
$boolean = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -80,10 +80,10 @@ class formEditPromotion extends Form{
|
||||
//|| !mb_ereg_match(self::HTML5_EMAIL_REGEXP, $description)
|
||||
if ( strcmp($active,"si") == 0 || strcmp($active,"no") == 0) {
|
||||
if ( strcmp($active,"si") == 0 ) {
|
||||
$boolean = 0;
|
||||
$boolean = 1;
|
||||
}
|
||||
else {
|
||||
$boolean = 1;
|
||||
$boolean = 0;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user