• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Check for another value.

Check for another value. 10 years 3 months ago #26268

I don't know much about php so I was wondering if anyone could tell me how I would make this piece of code from the default_info.php check for a third thing from the database in the if statement.
// department
 
	$label = $this->form->getLabel('department_id');
 
	if ($this->isStaff && $this->permissions->move_ticket) {
 
		$input = $this->form->getInput('department_id');
 
	} else {
 
		$input = $this->escape(JText::_($this->ticket->department->name));
 
	}

Thanks in advance.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!