Grégory Havret held a one-shot lead at the halfway stage of the Trophée Hassan II after posting a second successive 70 on Friday.
The Frenchman, who won the last of his three European Tour titles in 2008, carded an eagle, four birdies and three bogeys on Friday to get to six under par.
Dane Lucas Bjerregaard and South African Trevor Fisher Jnr were another stroke back on five under, one shot clear of Paul Dunne, James Morrison and Grégory Bourdy in joint fourth.
It had looked as though Havret would be heading into the clubhouse with more of a cushion as he was eight under at the 17th tee but back-to-back bogeys at the 17th and 18th saw him slip back.
The 40 year old began the day in a fourway tie at the top alongside Morrison, Bjerregaard and Gary Stal on three under par.
After starting his second round with five straight pars, Havret picked up his first shot of the day at the sixth before making another gain at the seventh to get to five under.
He made a stunning start to the back nine, notching a birdie at the 11th before firing a superb eagle at the next. Havret carded a bogey at the 13th but he converted his three-foot birdie putt at the 15th to get back to eight under. After getting into trouble at the 17th, Havret had to settle for a bogey four and he dropped another shot at the last to finish the day on six under.
After his round he said: «It’s always a bit of a shame to finish like this - bogey, bogey. It’s obviously not the best but the rest was pretty good. «This course is tough so you can’t avoid mistakes all day long.