diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-12-18 10:31:42 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-12-18 10:31:42 +0000 |
commit | 02539ac3f830101345cf5c715b0001aa1eb5a9c0 (patch) | |
tree | 9695e9c6074e3e333c620c545810fb972617f2aa /includes/common.inc | |
parent | 9c835a88ca47ef10acb601d037490d60124b5b05 (diff) | |
download | brdo-02539ac3f830101345cf5c715b0001aa1eb5a9c0.tar.gz brdo-02539ac3f830101345cf5c715b0001aa1eb5a9c0.tar.bz2 |
- Patch #195496 by bjaspan and hunmonk: no 'char' data type in Schema API (and removed spaces).
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/common.inc b/includes/common.inc index 00f497d4e..8c47f0036 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1500,10 +1500,10 @@ function drupal_map_assoc($array, $function = NULL) { */ function drupal_eval($code) { global $theme_path, $theme_info, $conf; - + // Store current theme path. $old_theme_path = $theme_path; - + // Restore theme_path to the theme, as long as drupal_eval() executes, // so code evaluted will not see the caller module as the current theme. // If theme info is not initialized get the path from theme_default. @@ -1518,10 +1518,10 @@ function drupal_eval($code) { print eval('?>'. $code); $output = ob_get_contents(); ob_end_clean(); - + // Recover original theme path. $theme_path = $old_theme_path; - + return $output; } |