task #5 : amélioration des performances pour la recherche de fiche
This commit is contained in:
parent
5f3dceea42
commit
50908eba18
4 changed files with 19 additions and 15 deletions
|
|
@ -60,12 +60,14 @@ if ( isset($_POST['record']))
|
|||
//--------------------------------------------------------------------------------
|
||||
// Show the result
|
||||
//--------------------------------------------------------------------------------
|
||||
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null )
|
||||
{
|
||||
echo alert(_('Date malformée, désolé'));
|
||||
exit();
|
||||
}
|
||||
|
||||
if ( isset($_GET['start']) && isset($_GET['end']))
|
||||
{
|
||||
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null )
|
||||
{
|
||||
echo alert(_('Date malformée, désolé'));
|
||||
exit();
|
||||
}
|
||||
}
|
||||
echo '<div id="list">';
|
||||
$fiche=new Fiche($cn,$_REQUEST['f_id']);
|
||||
$quick_code=$fiche->get_quick_code();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue