From 757801de550ddcf90d0a7ff2c5fcdac299fd3d8d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 10 Oct 2011 16:10:31 +0200 Subject: [PATCH] zoom: handle torus url not given (is optional) --- src/filter_zoom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 1e013eb..b735881 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -658,7 +658,7 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases( it = m_p->s_map.find(torus_db); if (it != m_p->s_map.end()) sptr = it->second; - else + else if (m_p->torus_url.length() > 0) { xmlDoc *doc = mp::get_searchable(m_p->torus_url, torus_db, m_p->proxy); if (!doc) -- 1.7.10.4