tbrehm
2010-03-21 c86da31b33c57df2e2cc611bf088be70830bcd0c
interface/lib/classes/tform.inc.php
@@ -191,7 +191,7 @@
                                break;
                                case 'CURRENCY':
                                        $new_record[$key] = number_format($record[$key], 2, ',', '');
                                        $new_record[$key] = number_format((double)$record[$key], 2, ',', '');
                                break;
                                default:
@@ -1199,7 +1199,7 @@
      
      // translation function for forms, tries the form wordbook first and if this fails, it tries the global wordbook
      function lng($msg) {
         global $app;
         global $app,$conf;
         
         if(isset($this->wordbook[$msg])) {
            return $this->wordbook[$msg];