phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] infolog/inc/class.solink.inc.php, 1.12.2.3


From: nomail
Subject: [Phpgroupware-cvs] infolog/inc/class.solink.inc.php, 1.12.2.3
Date: Mon, 22 Nov 2004 14:53:21 +0100

Update of /infolog/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.solink.inc.php

date: 2004/11/22 13:53:21;  author: ceb;  state: Exp;  lines: +20 -15

Log Message:
applied patch for bug #10672
=====================================================================
Index: infolog/inc/class.solink.inc.php
diff -u infolog/inc/class.solink.inc.php:1.12.2.2 
infolog/inc/class.solink.inc.php:1.12.2.3
--- infolog/inc/class.solink.inc.php:1.12.2.2   Sun Sep  7 01:29:29 2003
+++ infolog/inc/class.solink.inc.php    Mon Nov 22 13:53:21 2004
@@ -1,19 +1,19 @@
 <?php
- /**********************************************************************\
- * phpGroupWare - InfoLog                                              *
- * http://www.phpgroupware.org                                         *
- * This program is part of the GNU project, see http://www.gnu.org/    *
- *                                                                     *
- * Copyright 2002, 2003 Free Software Foundation, Inc.                 *
- *                                                                     *
- * Originally Written by Ralf Becker - <address@hidden>        *
- * --------------------------------------------                                
*
- * 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 *
- * the Free Software Foundation; either version 2 of the License, or   *
- * at your option) any later version.                                  *
- \**********************************************************************/
- /* $Id$ */
+       /**********************************************************************\
+       * phpGroupWare - InfoLog                                               *
+       * http://www.phpgroupware.org                                          *
+       * This program is part of the GNU project, see http://www.gnu.org/     *
+       *                                                                      *
+       * Copyright 2002, 2003 Free Software Foundation, Inc.                  *
+       *                                                                      *
+       * Originally Written by Ralf Becker - <address@hidden> *
+       * -------------------------------------------------------------------- *
+       * 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 *
+       * the Free Software Foundation; either version 2 of the License, or    *
+       * at your option) any later version.                                   *
+       \**********************************************************************/
+       /* $Id$ */
 
        $GLOBALS['phpgw_info']['flags']['included_classes']['solink'] = True;
        /*!
@@ -254,6 +254,11 @@
                                                $sql  .= " AND link_id1='$id'";
                                                $sql2 .= " AND link_id2='$id'";
                                        }
+                                       else
+                                       {
+                                               return 0;
+                                       }
+
                                        $sql .= ") OR (link_app2='$app'$sql2))";
                                }
                                elseif ($app != '' && $app2 != '')




reply via email to

[Prev in Thread] Current Thread [Next in Thread]