@Rho
$user->admin = true;
I wouldn't recommend upgrading to 1.7.1 while you have this problem. Better to correct ir first. Elgg 1.6 used metadata (rather than a user attribute) to indicate that a user is admin. Your best option is to write a plugin that does something like Dhruva is suggesting:
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.