Projet

Général

Profil

Révision ffa856dc

Ajouté par Jocelyn Delande il y a plus de 10 ans

added params generation to upload

Voir les différences:

class/FormValidator.class.php
112 112
	  }
113 113
  }
114 114
);
115
// Intended to validate checkbox which takes NULL for unchecked
116
FormValidator::register(
117
  'boolean',
118
  function ($v) {
119
	  if ($v == NULL) {
120
		  return false;
121
	  } else {
122
		  return true;
123
	  }
124
  }
125
);
115 126

  
116 127
?>

Formats disponibles : Unified diff