Changing our coding standards slightly:
[isso.git] / PrinterElement.php
index ab229ca49fc38513047c237cc23ec6c3a4388b77..38c9d7c37b97280c67d4d6cd4807823cfa399995 100644 (file)
@@ -96,7 +96,7 @@ abstract class BSPrinterElement
        */
        protected function _prepareStyle()
        {
-               if (empty($this->style) AND empty($this->cssClass))
+               if (empty($this->style) && empty($this->cssClass))
                {
                        return;
                }
@@ -113,7 +113,7 @@ abstract class BSPrinterElement
                
                $attrs = array();
                
-               foreach ($this->style AS $prop => $value)
+               foreach ($this->style as $prop => $value)
                {
                        $attrs[] = $prop . ': ' . $value;
                }