summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Parry <github@chad.parry.org>2011-05-04 17:22:15 -0600
committerChad Parry <github@chad.parry.org>2011-05-04 17:22:15 -0600
commit72f3fc46f6c7c9043e730063051ecfd88bf314c8 (patch)
tree5da621affb7e5cdd99f251f959b5bde36e66763d
parent13dbd3515bfb5324cfbcb3bbeafc179771b54f75 (diff)
Avoid "self::" because Kohana can't override it.
-rw-r--r--modules/gallery/helpers/legal_file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/legal_file.php b/modules/gallery/helpers/legal_file.php
index 2cb0fb25..68403fa6 100644
--- a/modules/gallery/helpers/legal_file.php
+++ b/modules/gallery/helpers/legal_file.php
@@ -31,7 +31,7 @@ class legal_file_Core {
static function get_filters() {
$filters = array();
- foreach (self::get_extensions() as $extension) {
+ foreach (legal_file::get_extensions() as $extension) {
array_push($filters, "*." . $extension, "*." . strtoupper($extension));
}
return $filters;