Probably some issue in the code below,
/**
* Prepares the delta for the weig...

Contribution Date
Technology
Contribution Project
Contribution Details

Probably some issue in the code below,

/** * Prepares the delta for the weight field on the administration form. * If a module has a weight higher then 100 (or lower than 100), it will use that * value as delta and the '#weight' field will turn into a textfield most likely * * @param $weight * @return int */ function modules_weight_prepare_delta($weight) { $delta = 100; if ((int) $weight > $delta) { return (int) $weight; } if ((int) $weight < -100) { return (int) $weight * -1; } return $delta; }
Contribution Author
Files count
0
Patches count
0