[Commits] r713 - trunk/webinterface/mods/super/nodes
new-commit at lists.openvcp.org
new-commit at lists.openvcp.org
Sat Feb 6 14:32:18 UTC 2010
Author: ftx
Date: 2010-02-06 14:32:18 +0000 (Sat, 06 Feb 2010)
New Revision: 713
Modified:
trunk/webinterface/mods/super/nodes/update.php
Log:
fix for "Column count doesn't match value count" error when updating the vserver list of a node
Modified: trunk/webinterface/mods/super/nodes/update.php
===================================================================
--- trunk/webinterface/mods/super/nodes/update.php 2010-02-05 20:58:48 UTC (rev 712)
+++ trunk/webinterface/mods/super/nodes/update.php 2010-02-06 14:32:18 UTC (rev 713)
@@ -53,7 +53,7 @@
$XML->addValue($request, "string", $vs);
$response= $SOCKET->socket_exec($node->getId(), $request);
$xid = $XML->getValues($response, "int");
- $DB->insert($DB->table_vservers, array('id' => '', 'name' => $vs, 'xid' => $xid[0], 'nodeid' =>$node->getId(), 'adminid' => '-1', 'userid' => -1, 'disable' => 'n'));
+ $DB->insert($DB->table_vservers, array('id' => '', 'name' => $vs, 'xid' => $xid[0], 'nodeid' =>$node->getId(), 'adminid' => '-1', 'userid' => -1, 'disable' => 'n', 'backup_count' => 0, 'lock' => 0));
$GUI->p(_("added new vserver").": ".$vs);
}
More information about the Commits
mailing list