Skip to content
Snippets Groups Projects
Commit 5c2a478d authored by Stefan Borchert's avatar Stefan Borchert
Browse files

Issue #1374108 by Liberto: Fixed Problem with data base tables with prefix (p.e. drupal_ ).

parent f75b841e
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ function webform_rules_condition_webform_has_id($form_id, $selected_webform) {
* Get an option list of all webforms.
*/
function webform_rules_get_webforms() {
$result = db_query("SELECT nid, title FROM node WHERE type = :type", array(
$result = db_query("SELECT nid, title FROM {node} WHERE type = :type", array(
':type' => 'webform',
));
$options = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment