2
0
forked from Wavyzz/dolibarr

Fix: Removed a lot of warnings

This commit is contained in:
Laurent Destailleur
2011-06-08 23:40:20 +00:00
parent d4376e60a2
commit 24517efd69

View File

@@ -199,11 +199,9 @@ function limitChars(textarea, limit, infodiv)
if (sizeof($resultsender) > 0)
{
print '<select name="fromsms" id="valid" class="flat">';
$i=0;
while($resultsender[$i])
foreach($resultsender as $obj)
{
print '<option value="'.$resultsender[$i]->number.'">'.$resultsender[$i]->number.'</option>';
$i++;
print '<option value="'.$obj->number.'">'.$obj->number.'</option>';
}
print '</select>';
}