From c52fa27a2c744f008cd30e46fa00aa14d1b75b87 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sun, 15 Nov 2015 07:23:55 -0500
Subject: [PATCH] Added accordion style collapsible on client limits form.

---
 interface/lib/plugins/vm_openvz_plugin.inc.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/interface/lib/plugins/vm_openvz_plugin.inc.php b/interface/lib/plugins/vm_openvz_plugin.inc.php
index aae645c..3249793 100644
--- a/interface/lib/plugins/vm_openvz_plugin.inc.php
+++ b/interface/lib/plugins/vm_openvz_plugin.inc.php
@@ -134,8 +134,6 @@
 		foreach ($tmp_rec as $tmp) {
 			$app->db->datalogUpdate('openvz_ip', array('vm_id' => 0), 'ip_address_id', $tmp['ip_address_id']);
 		}
-		unset($tmp);
-		unset($tmp_rec);
 	}
 
 	private function applyTemplate() {
@@ -177,6 +175,7 @@
 		$onboot = ($vm['start_boot'] == 'y')?'yes':'no';
 		$tpl->setVar('onboot', $onboot);
 
+		$tpl->setVar('bootorder', $vm['bootorder']);
 		$tpl->setVar('kmemsize', $vm_template['kmemsize']);
 		$tpl->setVar('lockedpages', $vm_template['lockedpages']);
 		$tpl->setVar('privvmpages', $burst_ram.':'.$burst_ram);

--
Gitblit v1.9.1