projects
/
project/views.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8ed8f75
)
Fixed bug to invalidate cache when saving uncacheable queries.
author
Earl Miles
Wed, 14 Dec 2005 21:10:00 +0000 (21:10 +0000)
committer
Earl Miles
Wed, 14 Dec 2005 21:10:00 +0000 (21:10 +0000)
views.module
patch
|
blob
|
blame
|
history
diff --git
a/views.module
b/views.module
index
14bc2fe
..
a00761d
100644
(file)
--- a/
views.module
+++ b/
views.module
@@
-1658,6
+1658,10
@@
function _views_save_view($view) {
$view->sql = $info['sql'];
$view->countsql = $info['countsql'];
}
+ else {
+ $view->sql = NULL;
+ $view->countsql = NULL;
+ }
// collapse arrays
if (is_array($view->filter_nodetypes))