Incrementally use ->fields for recordsets, ->f is not supported by upstream adodb.
authorsoranzo <soranzo>
Wed, 10 Jan 2007 01:25:12 +0000 (01:25 +0000)
committersoranzo <soranzo>
Wed, 10 Jan 2007 01:25:12 +0000 (01:25 +0000)
servers.php

index 93e23d13a200e40be06df80f4f677a344dae8376..833d2d9e40748dd6a8e0061acc26dca4789deeae 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage servers
         *
-        * $Id: servers.php,v 1.5 2005/11/25 08:49:08 jollytoad Exp $
+        * $Id: servers.php,v 1.6 2007/01/10 01:25:12 soranzo Exp $
         */
 
        // Include application functions
@@ -34,7 +34,7 @@
                $servers = $misc->getServers(true);
                
                function svPre(&$rowdata, $actions) {
-                       $actions['logout']['disable'] = empty($rowdata->f['username']);
+                       $actions['logout']['disable'] = empty($rowdata->fields['username']);
                        return $actions;
                }