2010-10-04 Ramon Novoa <rnovoa@artica.es>

* operation/agentes/estado_generalagente.php: Properly initialize the
	  custom field array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-10-04 11:28:31 +00:00
parent ed9d45af65
commit 512d534d13
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-10-04 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/estado_generalagente.php: Properly initialize the
custom field array.
2010-10-4 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fixed typo tiny error in function

View File

@ -162,7 +162,9 @@ 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 ();
}
if ($fields)
foreach($fields as $field) {
echo '<tr><td class="datos"><b>'.$field['name'].print_help_tip (__('Custom field'), true).'</b></td>';