Prevents warning when there is no ML.
[platal.git] / classes / group.php
index a44ab6d..1268ded 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2010 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -56,7 +56,7 @@ class Group
     {
         $cond = new UFC_Group($this->id, $admin);
         if (!is_null($extra_cond)) {
-            $cond = new UFC_And($cond, $extra_cond);
+            $cond = new PFC_And($cond, $extra_cond);
         }
         return new UserFilter($cond, $sort);
     }