2010-09-20 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_generalagente.php: Fixed a false value into foreach git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8b5fee16d1
commit
c2b7da7d4c
|
@ -1,3 +1,8 @@
|
|||
2010-09-20 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/agentes/estado_generalagente.php: Fixed a
|
||||
false value into foreach
|
||||
|
||||
2010-09-20 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* pandoradb_data.sql: Changed the english language from
|
||||
|
|
|
@ -163,6 +163,10 @@ echo '<td class="datos f9" colspan="2"><img src="include/fgraph.php?tipo=progres
|
|||
// Custom fields
|
||||
$fields = get_db_all_rows_filter('tagent_custom_fields', array('display_on_front' => 1));
|
||||
|
||||
if($fields === false) {
|
||||
$fields = array();
|
||||
}
|
||||
|
||||
foreach($fields as $field) {
|
||||
echo '<tr><td class="datos"><b>'.$field['name'].print_help_tip (__('Custom field'), true).'</b></td>';
|
||||
$custom_value = get_db_value_filter('description', 'tagent_custom_data', array('id_field' => $field['id_field'], 'id_agent' => $id_agente));
|
||||
|
|
Loading…
Reference in New Issue