Fix: use empty instead isset

This commit is contained in:
Regis Houssin 2013-04-17 10:41:54 +02:00
parent d28316f4a8
commit 4c13a4049c

View File

@ -1,7 +1,7 @@
<?php <?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -85,7 +85,7 @@ if ($id > 0 || ! empty($ref))
$acct->fetch($id, $ref); $acct->fetch($id, $ref);
} }
if (! isset($num)) if (empty($num))
{ {
/* /*
* Vue liste tous releves confondus * Vue liste tous releves confondus