Skip to content
Permalink
Browse files

reverted search bugfix (9a5fcd4) - needs php 5.3

  • Loading branch information...
following
following committed Mar 16, 2013
1 parent a39c79e commit 047032a78e1ffad5b8e6e8046380ab90529e712a
Showing with 2 additions and 4 deletions.
  1. +2 −4 htdocs/search.php
@@ -75,7 +75,7 @@
$queryid = 0;
}
newquery:
// newquery: -- goto needs PHP 5.3
if ($queryid == 0)
{
// das Suchformular wird initialisiert (keine Vorbelegungen vorhanden)
@@ -108,14 +108,12 @@
if (mysql_num_rows($query_rs) == 0)
{
$queryid = 0;
goto newquery; // can happen if logged out after query was created (fix for #3915)
/*
// goto newquery; - needs PHP 5.3 // can happen if logged out after query was created (fix for #3915)
$tplname = 'error';
tpl_set_var('tplname', 'search.php');
tpl_set_var('error_msg', $error_query_not_found);
tpl_BuildTemplate();
exit;
*/
}
else
{

0 comments on commit 047032a

Please sign in to comment.
You can’t perform that action at this time.