Diff for /loncom/interface/lonsearchcat.pm between versions 1.331.4.5 and 1.333

version 1.331.4.5, 2013/03/18 04:45:27 version 1.333, 2012/12/17 08:29:26
Line 1901  sub ensure_db_and_table { Line 1901  sub ensure_db_and_table {
     ## Sanity check the table id.      ## Sanity check the table id.
     ##      ##
     if (! defined($table) || $table eq '' || $table =~ /\D/ ) {      if (! defined($table) || $table eq '' || $table =~ /\D/ ) {
         $r->print(&Apache::loncommon::start_page('Error')          $r->print(&Apache::loncommon::start_page(&mt('Error'))
   . '<p>table: |'.$table.'|</p>' # SB
                  .'<p class="LC_error">'                   .'<p class="LC_error">'
                  .&mt('Unable to retrieve search results. '                   .&mt('Unable to retrieve search results. '
                      .'Unable to determine the table results were saved in.')                       .'Unable to determine the table results were saved in.')
                  .'</p>'  
                  . '<p>'.&mt('Internal info:').'</p>'  
                  .'<pre>'.$table.'</pre>'  
                  .&Apache::loncommon::end_page()                   .&Apache::loncommon::end_page()
         );          );
         return undef;          return undef;

Removed from v.1.331.4.5  
changed lines
  Added in v.1.333


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>