To get it to work, I had to go into mysql and make dice_rolls.roll_rev
nullable. Thanks for sharing this extension, by the way!
Extension talk:Dice/Flow
Appearance
(Zombie thread!!1!) Ah, thanks for this. Do you have a patch to the mysql database setup? My own setup here allows me to test postgresql and Oracle only.
In Dice_body.php, make two changes to get rid of those annoying warnings about missing argument 12 for Dice::Saved() and invalid argument supplied for foreach in Dice_body.php on line 63.
Replace this:
var $id;
with this:
var $id = array();
Also revise static function saved() to get rid of &$redirect. This reflects the change that was made to Manual:Hooks/ArticleSaveComplete to reduce it from 12 to 11 arguments. In other words, change it from:
static function saved(&$article, &$user, $text, $summary,
$minoredit, $watchthis, $sectionanchor, &$flags,
$revision, &$status, $baseRevId, &$redirect) {
to:
static function saved(&$article, &$user, $text, $summary,
$minoredit, $watchthis, $sectionanchor, &$flags,
$revision, &$status, $baseRevId ) {
Will do as soon as I get a second in the next week. Thanks for the pointers.
cant seem to make it work
i type @@4d6 but it just prints that as is, not the dicethrow
There are no older topics