Fix nil error when only postfixadmin is enabled.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 30 Oct 2015 00:45:57 +0000 (20:45 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 30 Oct 2015 00:45:57 +0000 (20:45 -0400)
lib/common/plugin.rb

index 81e1fbb6248e323f315c0108f7c9e11f5bb72b8c..272f0df56749419e7f5dc14843232544ac5ee0e8 100644 (file)
@@ -16,6 +16,7 @@ module Plugin
     end
 
     def includers
     end
 
     def includers
+      @includers ||= []
       return @includers
     end
 
       return @includers
     end