Skip to main content
Topic: Umm what? (Read 9297 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Umm what?

What is the purpose of this? lol

Code: [Select]
$temp = array_shift($context['linktree']);
array_unshift($context['linktree'], $temp);

This just pops the first item on the array, and then puts it right back on right? Am I not understanding how these functions work?
Success is not the result of spontaneous combustion, you must set yourself on fire!

Re: Umm what?

Reply #1

mmm... I think so...
Should it go the The best funny code contest? :P
Bugs creator.
Features destroyer.
Template killer.

Re: Umm what?

Reply #2

Um yes, that is probably a good idea. lol Unfortunately, I can't merge here.
Success is not the result of spontaneous combustion, you must set yourself on fire!

Re: Umm what?

Reply #3

Where is that? I am guessing if you look at its history, there was something between there that didn't want to use the first element.

Re: Umm what?

Reply #4

It's code in TP that I just happened to spot. :)
Success is not the result of spontaneous combustion, you must set yourself on fire!