586. Undertakings.

Any order for an injunction, unless the court orders otherwise, must contain:

  1.  

    (1)     an undertaking by the applicant to the court to pay any damages1 which the respondent sustains which the court considers the applicant should pay2;

  2.  

    (2)     if made without notice to any other party, an undertaking by the applicant to the court