Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Bug in rrd_functions.php line 195

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
Thrasher
Guest





PostPosted: Sat Apr 12, 2003 10:30 am    Post subject: Bug in rrd_functions.php line 195 Reply with quote

On line 195 of rrd_functions.php within the update section. the following line appears:

Code:
if (empty($rrd_update_values)) {


However this will return TRUE if the value is 0. This should be changed to:

Code:
if ($rrd_update_values == "") {


Now "empty" results will yield an unknown value.

-Jeff
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2235
Location: Carlisle, PA

PostPosted: Mon Apr 14, 2003 12:08 am    Post subject: Reply with quote

Thanks for pointing out this problem. It has been fixed in the latest release and in CVS.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group