Exemple #1
0
 function prepBoolean($val, &$db)
 {
     return $db->quoteSmart(ValueCast::castBoolean($val) ? 1 : 0);
 }