Data type equality

This commit is contained in:
Michael RICOIS 2013-01-22 07:11:58 +00:00
parent e52006a29d
commit 8f6620af04

View File

@ -83,7 +83,7 @@
<select name="idClient">
<option value="">-</option>
<?php foreach ($this->clients as $client) {?>
<?php $select = ''; if ( $client->id == $this->idClient) { $select = ' selected'; }?>
<?php $select = ''; if ( $client->id === $this->idClient) { $select = ' selected'; }?>
<option value="<?=$client->id?>"<?=$select?>><?=$client->nom?></option>
<?php }?>
</select>