DrupalBin
Submit Code
About
Recent Posts
Code
5 min 32 sec
ago
Fix for Code
1 hour 19 min
ago
Code
1 hour 19 min
ago
example array
1 hour 31 min
ago
more
Tags
CCK
fapi
javascript
jquery
menu
module
Panels
simpletest
template.php
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
Fix for Code
View
Download
Fix
This fix will not be saved to the database until you submit.
Summary:
Tags:
Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Source code:
*
function views_handler_filter_project_issue_fid_exist($op, $filter, $filterdata, &$query) { switch ($op) { case 'handler': $query->ensure_table('file_revisions'); $query->ensure_table('comment_upload_files'); if ($filter['value']) { $query->add_where('file_revisions.fid OR comment_upload_files.fid'); } else { $query->add_where('ISNULL(file_revisions.fid) AND ISNULL(comment_upload_files.fid)'); } } }
Syntax highlighting mode:
ActionScript
ColdFusion
Diff
Drupal
Drupal 5
Drupal 6
HTML
Javascript
MySQL
PHP
Python
robots.txt
SQL
Text
Select the syntax highlighting mode to use.