Closed (fixed)
Project:
Web Service Clients
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 May 2011 at 20:36 UTC
Updated:
29 May 2011 at 14:01 UTC
This has no business in the class's form builder:
if (is_null($connection)) {
$new = TRUE;
$connection_types = clients_get_connection_types();
drupal_set_title(t('Add @type connection', array(
'@type' => $connection_types[$type]['label'],
)));
}
else {
$form['cid'] = array(
'#type' => 'value',
'#value' => $connection->cid,
);
}
What was I thinking??
Comments
Comment #1
joachim commentedIssue #1146060 by joachim: Further fixes with add and edit form merge; moved title setting to base form.
Turned into a bit of a cleanup...