Commit Graph

8311 Commits

Author SHA1 Message Date
jsatoh fb0ed522f2 2014-08-12 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Fixed sql
	error with MySQL 5.6 and its default sql_mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-12 01:07:29 +00:00
mdtrooper 0edbe523d2 2014-08-11 Miguel de Dios <miguel.dedios@artica.es>
* include/help/clippy/godmode_agentes_modificar_agente.php,
	include/help/clippy/homepage.php,
	include/help/clippy/godmode_agentes_configurar_agente.php,
	include/functions_clippy.php: wip in the clippy.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-11 14:30:09 +00:00
vgilc e19b631a6b 2014-08-11 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/agent_template.php: Fixed bug in FF
	threshold to apply a template module. Ticket #871.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-11 11:27:50 +00:00
vgilc 65369ae254 2014-08-11 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/agent_conf_gis.php: Altitude coordinate by
	default. Fixed bug #766.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-11 10:18:08 +00:00
hkosaka c4b7dc2557 2014-08-11 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed modules would have ignored
	ff_threshold when the module shifted from normal to critical
	while its status remained unknown.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-11 09:53:10 +00:00
mdtrooper f956eb057c 2014-08-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php,
	include/help/clippy/godmode_agentes_modificar_agente.php,
	include/help/clippy/homepage.php,
	include/help/clippy/godmode_agentes_configurar_agente.php,
	include/javascript/intro.js,
	include/javascript/introjs.css,
	include/javascript/clippy.js,
	include/functions_ui.php,
	include/functions_clippy.php,
	index.php,
	general/header.php: first version of the new feature a annoying
	clippy such as the lovely micro$oft mascot.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-08 15:11:00 +00:00
ramonn 5565e19348 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl,
	  util/recon_scripts/wmi-recon.pl: Set a default value
	  for nmap_timing_template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 11:50:26 +00:00
ramonn 93874598d5 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  util/recon_scripts/snmp-recon.pl,
	  util/recon_scripts/wmi-recon.pl: Added a new parameter to control how
	  aggressive nmap should be.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 10:43:25 +00:00
ramonn dc85c68f57 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Fixes the ps call on HP-UX.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 09:55:15 +00:00
alexhigh b77cd131f2 2014-08-07 Alejandro Gallardo <alejandro.gallardo@artica.es>
* pandoradb.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
	  extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
	Modified the decimal precision of the column "post_process"
	for the table 'tagente_modulo' (Ticket #1124).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 09:47:10 +00:00
slerena 673e93ce84 2014-08-06 Sancho Lerena <slerena@artica.es>
* NetBSD/pandora_server.conf,
        conf/pandora_server.conf.new,
        conf/pandora_server.conf.windows: New default value for icmp_retries
        to have default setup more realiable but a bit slower.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 21:21:03 +00:00
alexhigh cc0e58b47b 2014-08-06 Alejandro Gallardo <alejandro.gallardo@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Little syntax fix.

	* util/pandora_revent_create.pl: Changed the url encode
	separator of the api call from "," to "|".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 18:01:48 +00:00
ramonn ded9780100 2014-08-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Rewrote TCP module socket code for
	  sending data (tcp_send). Fixes ticket #1096.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 15:48:59 +00:00
slerena 9b7a8cec71 2014-08-06 Sancho Lerena <slerena@artica.es>
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
        pandoradb.sql: Fixed bug introduced in commit 9604
        altering tagente_modulo.post_process double precission
        making conversion from bytes to megabytes impossible
        (0,00000095367432). Pending to fix also the interface for
        module creation/edition which also fails. This is critical
        for SP1 release :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 07:37:46 +00:00
alexhigh 0fcefffea1 2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Improved the submenus state
	persistence functionality.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 13:16:54 +00:00
alexhigh c03ac82eee 2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Fixed the menu position when
	it's fixed and the header's not.

	* include/functions_graph.php,
	  include/graphs/pandora.d3.js: Added colors to the elements
	depending on their status on the functions 'sunburst' and
	'graph_monitor_wheel'.

	* include/styles/pandora.css: Fixed the z-index of the
	shortcut bar.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 13:09:46 +00:00
hkosaka c9b396f8be 2014-08-05 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Suppress "going to normal (warning,
	critical)" events from "unknown" status, if you disable "Throw
	unknown events" at the Console.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 07:15:52 +00:00
hkosaka a6f9efa740 2014-08-05 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed that unknown modules would be
	set to normal if its status is not normal, when new data
	arrives but ff_threshold is greater than 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 06:50:51 +00:00
alexhigh 657c1ab9b0 2014-08-04 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/header.php: Now the header can be configured
	to be fixed at the top.

	* general/main_menu.php: Now the menu can be configured
	to be fixed at the left.

	* godmode/setup/setup_visuals.php,
	  include/functions_config.php: Added new options to
	enable the fixed header and menu.

	* include/styles/menu.css,
	  include/styles/pandora.css: Changes on the menu styles.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 16:50:36 +00:00
mdtrooper 706eef436f 2014-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php,
	include/functions_update_manager.php: some fixes into the update
	manager.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 16:00:58 +00:00
alexhigh c5c338a0c2 2014-08-04 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Now the submenus opened by the
	user remain opened when navigating through Pandora FMS.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 12:17:13 +00:00
mdtrooper 024d4e6cd1 2014-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: added global config var for the
	quote strings (for example, PostgreSQL).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-04 11:38:00 +00:00
jsatoh 676e9b66d6 2014-08-03 Junichi Satoh <junichi@rworks.jp>
* include/functions_ui.php: Fixed that the fast forward and the going
	to the last of pagination doesn't work in the modal window for module
	data display.
	And fixed incorrect offset calculation for the fast forward.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-03 01:52:06 +00:00
jsatoh 5a0ab35647 2014-08-02 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_monitores.php: Fixed that module data
	display does not work correctly when time range mode is selected
	and paginated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-02 09:04:57 +00:00
jsatoh ee99be3fde 2014-08-02 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php: Fixed sql error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-02 07:09:28 +00:00
mdtrooper 02c37f4f47 2014-08-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.editor.php: fixed the acl.
	
	MERGED FROM THE BRANCH 5.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-01 10:36:19 +00:00
mdtrooper 862d16ccf9 2014-07-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_graph.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/functions_api.php, extensions/agents_alerts.php,
	operation/search_main.php, operation/search_agents.getdata.php,
	operation/agentes/status_monitor.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/ver_agente.php,
	operation/search_modules.getdata.php, operation/search_results.php,
	operation/events/events_list.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_template.php,
	godmode/modules/manage_network_components_form.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php: tiny fixes for the improve the
	support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-31 14:27:43 +00:00
mdtrooper 61100077c1 2014-07-30 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/module.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 16:54:10 +00:00
alexhigh 8ed6e5b5d4 2014-07-30 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Finished the function
	"graph_monitor_wheel". This function returns a sunburst
	graph representing all the group>agent>module group>module
	hierarchy.
	
	* include/functions_groups.php: Added the function
	"groups_get_tree". This function returns an array representing
	the group hierarchy of the passed groups array.

	* include/graphs/pandora.d3.js: Improved the function
	"sunburst". Now this graph can show tooltips.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 15:58:27 +00:00
mdtrooper 30c9e1a9ef 2014-07-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php,
	include/functions_treeview.php, include/ajax/module.php,
	include/functions_reporting.php, include/db/postgresql.php,
	include/functions_servers.php, operation/agentes/estado_agente.php,
	operation/tree.php: tiny fixes for the improve
	the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 14:29:44 +00:00
ramonn 8e60ec9d58 2014-07-30 Ramon Novoa <rnovoa@artica.es>
* util/trap_rate.sh: Added to repository. Script to calculate the rate of
	  SNMP traps received by snmptrapd.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 22:41:09 +00:00
ramonn b92d9110fe 2014-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set unknown modules to normal if new data
	  arrives but ff_threshold is greater than 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 22:39:07 +00:00
mdtrooper 6488476d99 2014-07-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php,
	operation/agentes/estado_monitores.php: tiny fixes for the improve
	the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 15:11:23 +00:00
jsatoh bf919297b4 2014-07-29 Junichi Satoh <junichi@rworks.jp>
* include/functions_events.php: Fixed a bug that event's comment
	is not shown when it includes newline.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 06:42:33 +00:00
ramonn 36d2981f8b 2014-07-28 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm: Added configuration tokens to disable the
	  translation of enterprise strings and variable bindings (SNMP console).

	* lib/PandoraFMS/SNMPServer.pm: Added thread support to the SNMP console.

	* lib/PandoraFMS/DB.pm: Fixed a warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-28 16:24:40 +00:00
jsatoh 6ecc9c7a63 2014-07-28 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php: Fixed sql error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-28 00:49:39 +00:00
mdtrooper 1a13d4e299 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2014-07-25 13:16:46 +00:00
mdtrooper df64061283 2014-07-25 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/GIS.pm, lib/PandoraFMS/DB.pm,
	lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
	lib/PandoraFMS/DataServer.pm: tiny fixes for to improve the support
	of PostgreSQL.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-25 13:15:24 +00:00
jsatoh b4992dcbc5 2014-07-25 Junichi Satoh <junichi@rworks.jp>
* util/pandora_db.pl: Fixed error when 'dbengine' token is not defined
	in pandora_server.conf with enterprise installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-25 03:47:55 +00:00
mdtrooper d11b4d0cb3 2014-07-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php,
	operation/events/events_list.php, operation/incidents/incident.php,
	extensions/files_repo.php,
	extensions/files_repo/sql/files_repo.postgreSQL.sql,
	extensions/files_repo/functions_files_repo.php,
	extensions/files_repo/files_repo_list.php,
	godmode/agentes/modificar_agente.php,
	godmode/snmpconsole/snmp_alert.php, godmode/db/db_info.php,
	include/functions_graph.php, include/functions_db.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/db/mysql.php, include/functions_update_manager.php,
	include/functions_events.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 16:02:06 +00:00
mdtrooper 4afc69698e 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* extensions/module_groups.php, extensions/agents_alerts.php,
	include/functions_agents.php, operation/agentes/exportdata.php: tiny
	fixes for the improve the support of postgreSQL databases.
	
	* include/functions_db.php: fix blank screen when the connection
	fail, now it shows the error message again.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 08:40:59 +00:00
mdtrooper f0d2ccf98d 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php: tiny fixes for the improve the
	support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 16:59:05 +00:00
mdtrooper 807faa6992 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php, include/functions_reporting.php:
	tiny fixes for the improve the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 14:42:55 +00:00
mdtrooper df30653229 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: fixed the show the
	agent access box when the agent is new without data.
	
	INCIDENT: #1078




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:48:28 +00:00
mdtrooper f7469f47c1 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* util/plugin/snmp_remote.pl: some fixed for the snmp v3.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:11:36 +00:00
mdtrooper 1cd6b8b35c 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_wizard.snmp_explorer.php,
	godmode/agentes/module_manager_editor_plugin.php: some fixes for
	the snmp version 3.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:08:57 +00:00
juanmanuelr 5f90d6f2d0 2014-07-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/events.php: Fixed custom fields view in
        metaconsole event extended view.

        This is my last commit for Pandora guys! Bye ;-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-22 17:41:39 +00:00
mdtrooper 012ae953a0 2014-07-22 Miguel de Dios <miguel.dedios@artica.es>
* 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-22 16:07:31 +00:00
mdtrooper 77c4eefe5c 2014-07-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed to show the QR code image
	in the creation of a new agent.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-22 16:03:27 +00:00
mdtrooper 0394512d2e 2014-07-21 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: fixed the SQL.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-21 12:24:16 +00:00