aboutsummaryrefslogtreecommitdiff
path: root/includes/preset.inc
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-14 20:58:44 +0530
committerHeshan <heshan@heidisoft.com>2011-03-14 20:58:44 +0530
commit14c097ff41e0410784aa1fdae7b4312ec70ff5e0 (patch)
tree6a7f7ab3c6abe600ad320dbbfc7cf3c49ec95570 /includes/preset.inc
parent0d300315ee1144b50bdf666f364cd02dceb2e5cf (diff)
downloadvideo-14c097ff41e0410784aa1fdae7b4312ec70ff5e0.tar.gz
video-14c097ff41e0410784aa1fdae7b4312ec70ff5e0.tar.bz2
Move common codes from the insert and update, and formate the helper thumbnails
Diffstat (limited to 'includes/preset.inc')
-rw-r--r--includes/preset.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/preset.inc b/includes/preset.inc
index d3a3fdd..c2870a5 100644
--- a/includes/preset.inc
+++ b/includes/preset.inc
@@ -62,7 +62,8 @@ class video_preset {
* @return array $properties
*/
public function properties() {
- module_load_include('inc', 'video_ui', 'video.preset');
+ // adding modules/video_ui to load this file even if UI module is disabled
+ module_load_include('inc', 'video', 'modules/video_ui/video.preset');
$presets = array();
$preset = $this->preset;
foreach ($preset as $preset_name) {