minor cleanup, booleans should be boolean
authorIngo Renner <ingo.renner@typo3.org>
Thu, 30 Oct 2008 18:51:45 +0000 (18:51 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Thu, 30 Oct 2008 18:51:45 +0000 (18:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4387 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_div.php
typo3/sysext/cms/tslib/class.tslib_pibase.php

index 06feb22..5a0e469 100755 (executable)
@@ -1677,7 +1677,7 @@ final class t3lib_div {
         * @return      string          Imploded result, fx. &param[key][key2]=value2&param[key][key3]=value3
         * @see explodeUrl2Array()
         */
-       public static function implodeArrayForUrl($name,array $theArray,$str='',$skipBlank=0,$rawurlencodeParamName=0)  {
+       public static function implodeArrayForUrl($name, array $theArray, $str = '', $skipBlank = false, $rawurlencodeParamName = false) {
                foreach($theArray as $Akey => $AVal)    {
                        $thisKeyName = $name ? $name.'['.$Akey.']' : $Akey;
                        if (is_array($AVal))    {
index e2488b0..8997957 100755 (executable)
@@ -304,7 +304,7 @@ class tslib_pibase {
                $conf['useCacheHash'] = $this->pi_USER_INT_obj ? 0 : $cache;
                $conf['no_cache'] = $this->pi_USER_INT_obj ? 0 : !$cache;
                $conf['parameter'] = $altPageId ? $altPageId : ($this->pi_tmpPageId ? $this->pi_tmpPageId : $GLOBALS['TSFE']->id);
-               $conf['additionalParams'] = $this->conf['parent.']['addParams'].t3lib_div::implodeArrayForUrl('',$urlParameters,'',1).$this->pi_moreParams;
+               $conf['additionalParams'] = $this->conf['parent.']['addParams'].t3lib_div::implodeArrayForUrl('', $urlParameters, '', true).$this->pi_moreParams;
 
                return $this->cObj->typoLink($str, $conf);
        }