Subversion Repositories eFlore/Applications.cel

Rev

Rev 3027 | Rev 3246 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3027 Rev 3070
Line 93... Line 93...
93
		return $retour;
93
		return $retour;
94
	}
94
	}
Line 95... Line 95...
95
 
95
 
96
	protected function protegerTableau(Array $tableau) {
96
	protected function protegerTableau(Array $tableau) {
-
 
97
		foreach ($tableau as $id => $val) {
-
 
98
			if ($val === null) {
-
 
99
				$tableau[$id] = 'NULL';
97
		foreach ($tableau as $id => $val) {
100
			} else {
98
			$tableau[$id] = Cel::db()->proteger($val);
101
				$tableau[$id] = Cel::db()->proteger($val);
-
 
102
			}
99
		}
103
		}
100
		return $tableau;
104
		return $tableau;
Line 101... Line 105...
101
	}
105
	}
102
 
106