version 1.333, 2012/12/17 08:29:26
|
version 1.334, 2013/02/06 17:56:38
|
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(&mt('Error')) |
$r->print(&Apache::loncommon::start_page('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; |