From 7f79e22eb4baa44d17d34beddae48b1bfd18eaff Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 30 Nov 2011 05:48:17 -0500
Subject: [PATCH] - Set sizelimit of main search function for vlv_search to page_size. It was requested as performance improvement, but I wasn't able to confirm this. However it doesn't break anything.
---
program/include/html.php | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/program/include/html.php b/program/include/html.php
index d097278..27eeebb 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -675,8 +675,7 @@
if ($index === null)
$index = $this->rowindex;
- if ($this->rows[$index])
- $this->rows[$index]->attrib = $attr;
+ $this->rows[$index]->attrib = $attr;
}
/**
--
Gitblit v1.9.1