Author: lindner
Date: Mon Jul 26 06:00:50 2010
New Revision: 979163
URL: http://svn.apache.org/viewvc?rev=979163&view=rev
Log:
SHINDIG-1396 | Patch from Bastian Hofmann | OS Template Styles are encapsulated
into an TemplateLibraryContent object two times
Modified:
shindig/trunk/php/src/gadgets/templates/TemplateLibrary.php
Modified: shindig/trunk/php/src/gadgets/templates/TemplateLibrary.php
URL:
http://svn.apache.org/viewvc/shindig/trunk/php/src/gadgets/templates/TemplateLibrary.php?rev=979163&r1=979162&r2=979163&view=diff
==============================================================================
--- shindig/trunk/php/src/gadgets/templates/TemplateLibrary.php (original)
+++ shindig/trunk/php/src/gadgets/templates/TemplateLibrary.php Mon Jul 26
06:00:50 2010
@@ -247,7 +247,7 @@ class TemplateLibraryEntry {
* @param unknown_type $style
*/
public function addStyle(TemplateLibraryContent $style) {
- $this->style[] = new TemplateLibraryContent($style);
+ $this->style[] = $style;
}
/**