In PPCustomFrame_DOM and PPCustomFrame_Hash, no checking is performed in getArgument() when arguments not contained in frames are requested, causing PHP undefined variable error messages. This happens while expanding templates using a custom frame.
A simple check is needed using isset(), just like those found in PPFrame_* and PPTemplateFrame_*.
of time with CACHE_NONE (default objectcache table configuration).
* Trying to set two different default category sort keys for one page now produces
a warning
-* (bug 16143) Fix redirect loop on special pages starting with lower case letters.
+* (bug 16143) Fix redirect loop on special pages starting with lower case letters
+* (bug 15737) Fix notices while expanding using PPCustomFrame
=== API changes in 1.14 ===
}
function getArgument( $index ) {
+ if ( !isset( $this->args[$index] ) ) {
+ return false;
+ }
return $this->args[$index];
}
}
}
function getArgument( $index ) {
+ if ( !isset( $this->args[$index] ) ) {
+ return false;
+ }
return $this->args[$index];
}
}