Browse Source

dont remove leading 0s from campus ids anymore

9.x-1.0
Paul Pound 3 months ago
parent
commit
18897a27df
  1. 8
      src/Form/RoblibIllLoanForm.php

8
src/Form/RoblibIllLoanForm.php

@ -81,8 +81,12 @@ class RoblibIllLoanForm extends FormBase {
* the campus id with leading zeros and leading/trailing whitespace removed.
*/
function ill_form_message_id($id) {
$id = ltrim($id, '0');
return trim($id);
// Equinox made some changes to the database so we may not need to do
// this anymore.
// Doing this simple change for now in case things need to be reverted.
//$id = ltrim($id, '0');
//return trim($id);
return $id;
}
/**

Loading…
Cancel
Save